Pobierz producenta odpowiedzialnego (GPSR)
GET
/api/Responsible/GetResponsibleProducer
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Responsible/GetResponsibleProducer';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/GetResponsibleProducer \ --header 'Authorization: Bearer <token>'Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”ConnectionId
string
ResponsibleProducerId
string
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
id
string
name
wymagane
string
producerData
wymagane
object
tradeName
wymagane
string
address
wymagane
object
countryCode
wymagane
string
street
wymagane
string
postalCode
wymagane
string
city
wymagane
string
contact
wymagane
object
email
wymagane
string
phoneNumber
wymagane
string
formUrl
wymagane
string
object
id
string
name
wymagane
string
producerData
wymagane
object
tradeName
wymagane
string
address
wymagane
object
countryCode
wymagane
string
street
wymagane
string
postalCode
wymagane
string
city
wymagane
string
contact
wymagane
object
email
wymagane
string
phoneNumber
wymagane
string
formUrl
wymagane
string
Examplegenerated
{ "id": "example", "name": "example", "producerData": { "tradeName": "example", "address": { "countryCode": "example", "street": "example", "postalCode": "example", "city": "example" }, "contact": { "email": "example", "phoneNumber": "example", "formUrl": "example" } }}object
id
string
name
wymagane
string
producerData
wymagane
object
tradeName
wymagane
string
address
wymagane
object
countryCode
wymagane
string
street
wymagane
string
postalCode
wymagane
string
city
wymagane
string
contact
wymagane
object
email
wymagane
string
phoneNumber
wymagane
string
formUrl
wymagane
string
Examplegenerated
{ "id": "example", "name": "example", "producerData": { "tradeName": "example", "address": { "countryCode": "example", "street": "example", "postalCode": "example", "city": "example" }, "contact": { "email": "example", "phoneNumber": "example", "formUrl": "example" } }}Bad Request
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}
