Pobierz etykietę przesyłki po ID
GET
/api/v3/Shipments/ShipmentLabel/{shipmentId}
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Shipments/ShipmentLabel/1';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/v3/Shipments/ShipmentLabel/1 \ --header 'Authorization: Bearer <token>'Zwraca plik etykiety dla wskazanej przesyłki. Odpowiednik getLabel w BaseLinker.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”shipmentId
wymagane
integer format: int64
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
string format: binary
Examplegenerated
binary
