Ustaw wznawianie oferty
POST
/api/ProductAllegroOffer/SetRenewOffer
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ProductAllegroOffer/SetRenewOffer';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"allegroOfferId":"example","autoRenew":"Yes"}'};
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/ProductAllegroOffer/SetRenewOffer \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "allegroOfferId": "example", "autoRenew": "Yes" }'Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”object
allegroOfferId
wymagane
string
autoRenew
wymagane
string
object
allegroOfferId
wymagane
string
autoRenew
wymagane
string
object
allegroOfferId
wymagane
string
autoRenew
wymagane
string
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
boolean
boolean
Examplegenerated
trueboolean
Examplegenerated
true
