Pobierz listę producentów odpowiedzialnych (GPSR)
GET
/api/Responsible/GetResponsibleProducers
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Responsible/GetResponsibleProducers';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Responsible/GetResponsibleProducers \ --header 'Authorization: Bearer <token>'Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”connectionId
string
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
responsibleProducers
wymagane
Array<object>
object
responsibleProducerId
wymagane
string
responsibleProducerName
wymagane
string
connectionId
wymagane
string
connectionName
wymagane
string
object
responsibleProducers
wymagane
Array<object>
object
responsibleProducerId
wymagane
string
responsibleProducerName
wymagane
string
connectionId
wymagane
string
connectionName
wymagane
string
Examplegenerated
{ "responsibleProducers": [ { "responsibleProducerId": "example", "responsibleProducerName": "example", "connectionId": "example", "connectionName": "example" } ]}object
responsibleProducers
wymagane
Array<object>
object
responsibleProducerId
wymagane
string
responsibleProducerName
wymagane
string
connectionId
wymagane
string
connectionName
wymagane
string
Examplegenerated
{ "responsibleProducers": [ { "responsibleProducerId": "example", "responsibleProducerName": "example", "connectionId": "example", "connectionName": "example" } ]}
