Zsynchronizuj cenniki hurtowe z Allegro
PATCH
/api/LoyaltyPromotions/FetchConnectionWholesalePriceList
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/LoyaltyPromotions/FetchConnectionWholesalePriceList';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/LoyaltyPromotions/FetchConnectionWholesalePriceList \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "connectionId": "example" }'Pobiera cenniki hurtowe (rabaty ilościowe) z konta Allegro i zapisuje je w Sellrocket.
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
connectionWholesalePriceList
Array<object>
object
id
wymagane
string
name
wymagane
string
object
connectionId
wymagane
string
connectionName
wymagane
string
connectionWholesalePriceList
Array<object>
object
id
wymagane
string
name
wymagane
string
Examplegenerated
{ "connectionId": "example", "connectionName": "example", "connectionWholesalePriceList": [ { "id": "example", "name": "example" } ]}object
connectionId
wymagane
string
connectionName
wymagane
string
connectionWholesalePriceList
Array<object>
object
id
wymagane
string
name
wymagane
string
Examplegenerated
{ "connectionId": "example", "connectionName": "example", "connectionWholesalePriceList": [ { "id": "example", "name": "example" } ]}
