Zsynchronizuj osoby odpowiedzialne z Allegro
PATCH
/api/Responsible/FetchConnectionResponsiblePersons
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Responsible/FetchConnectionResponsiblePersons';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"connectionId":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Responsible/FetchConnectionResponsiblePersons \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "connectionId": "example" }'Pobiera z konta Allegro osoby odpowiedzialne za bezpieczeństwo produktów (GPSR).
Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”object
connectionId
wymagane
string
Examplegenerated
{ "connectionId": "example"}object
connectionId
wymagane
string
Examplegenerated
{ "connectionId": "example"}object
connectionId
wymagane
string
Examplegenerated
{ "connectionId": "example"}Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
connectionId
wymagane
string
connectionName
wymagane
string
connectionResponsiblePersons
wymagane
Array<object>
object
responsiblePersonId
wymagane
string
responsiblePersonName
wymagane
string
object
connectionId
wymagane
string
connectionName
wymagane
string
connectionResponsiblePersons
wymagane
Array<object>
object
responsiblePersonId
wymagane
string
responsiblePersonName
wymagane
string
Examplegenerated
{ "connectionId": "example", "connectionName": "example", "connectionResponsiblePersons": [ { "responsiblePersonId": "example", "responsiblePersonName": "example" } ]}object
connectionId
wymagane
string
connectionName
wymagane
string
connectionResponsiblePersons
wymagane
Array<object>
object
responsiblePersonId
wymagane
string
responsiblePersonName
wymagane
string
Examplegenerated
{ "connectionId": "example", "connectionName": "example", "connectionResponsiblePersons": [ { "responsiblePersonId": "example", "responsiblePersonName": "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"}
