Przejdź do głównej zawartości

Przenieś opis i zdjęcia oferty do produktu

POST
/api/PimProducts/UpdateOfferDescriptionAndImagesInPim
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.

object
offers
wymagane
Array<object>
object
offerId
wymagane
string
description
string
nullable
imageUrls
Array<string>
nullable
connectionId
wymagane
string
Examplegenerated
{
"offers": [
{
"offerId": "example",
"description": "example",
"imageUrls": [
"example"
]
}
],
"connectionId": "example"
}

OK

object
id
wymagane
integer format: int64