Pobierz plik załącznika zamówienia
GET
/api/v3/Orders/Download/{orderAttachmentId}
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Orders/Download/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/Orders/Download/1 \ --header 'Authorization: Bearer <token>'Pobiera załącznik jako plik do zapisania.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”orderAttachmentId
wymagane
integer format: int64
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
string format: binary
string format: binary
Examplegenerated
binaryBad Request
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Server Error

