Przenieś opis i zdjęcia oferty do produktu
POST
/api/PimProducts/UpdateOfferDescriptionAndImagesInPim
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/PimProducts/UpdateOfferDescriptionAndImagesInPim';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"offers":[{"offerId":"example","description":"example","imageUrls":["example"]}],"connectionId":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/PimProducts/UpdateOfferDescriptionAndImagesInPim \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "offers": [ { "offerId": "example", "description": "example", "imageUrls": [ "example" ] } ], "connectionId": "example" }'Kopiuje opis i zdjęcia z oferty Allegro do powiązanego produktu w katalogu.
Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”object
offers
wymagane
Array<object>
object
offerId
wymagane
string
description
string
imageUrls
Array<string>
connectionId
wymagane
string
Examplegenerated
{ "offers": [ { "offerId": "example", "description": "example", "imageUrls": [ "example" ] } ], "connectionId": "example"}object
offers
wymagane
Array<object>
object
offerId
wymagane
string
description
string
imageUrls
Array<string>
connectionId
wymagane
string
Examplegenerated
{ "offers": [ { "offerId": "example", "description": "example", "imageUrls": [ "example" ] } ], "connectionId": "example"}object
offers
wymagane
Array<object>
object
offerId
wymagane
string
description
string
imageUrls
Array<string>
connectionId
wymagane
string
Examplegenerated
{ "offers": [ { "offerId": "example", "description": "example", "imageUrls": [ "example" ] } ], "connectionId": "example"}Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
id
wymagane
integer format: int64
object
id
wymagane
integer format: int64
Examplegenerated
{ "id": 1}object
id
wymagane
integer format: int64
Examplegenerated
{ "id": 1}
