Pobierz najnowszą etykietę przesyłki zwrotnej
GET
/api/v1/Returns/{returnId}/Shipments/Labels/newest
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v1/Returns/1/Shipments/Labels/newest';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v1/Returns/1/Shipments/Labels/newest \ --header 'Authorization: Bearer <token>'Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”returnId
wymagane
integer format: int64
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
string format: binary
Examplegenerated
binary
