Przejdź do głównej zawartości

Odśwież oferty z Allegro

POST
/api/Offers/RefreshOffers
curl --request POST \
--url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Offers/RefreshOffers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "connectionId": "example", "offersIds": [ "example" ], "includeArchived": true }'

Pobiera aktualne dane wskazanych ofert z Allegro; zakończenie sprawdzisz przez RefreshOffersCompleted.

object
connectionId
wymagane
string
offersIds
wymagane
Array<string>
includeArchived
wymagane
boolean
Examplegenerated
{
"connectionId": "example",
"offersIds": [
"example"
],
"includeArchived": true
}

OK

string

Bad Request

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties