Usuń cennik hurtowy
DELETE
/api/LoyaltyPromotions/DeleteWholesalePriceList
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/LoyaltyPromotions/DeleteWholesalePriceList';const options = { method: 'DELETE', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"connectionId":"example","wholesalePriceListId":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/LoyaltyPromotions/DeleteWholesalePriceList \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "connectionId": "example", "wholesalePriceListId": "example" }'Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”object
connectionId
wymagane
string
wholesalePriceListId
wymagane
string
Examplegenerated
{ "connectionId": "example", "wholesalePriceListId": "example"}object
connectionId
wymagane
string
wholesalePriceListId
wymagane
string
Examplegenerated
{ "connectionId": "example", "wholesalePriceListId": "example"}object
connectionId
wymagane
string
wholesalePriceListId
wymagane
string
Examplegenerated
{ "connectionId": "example", "wholesalePriceListId": "example"}Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK

