Pobierz przesyłki wielu zamówień
POST
/api/v3/Orders/shipments
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Orders/shipments';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '[1]'};
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-smerp-api.enterprise.sellrocket.pl/api/v3/Orders/shipments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '[ 1 ]'Odczyt – lista ID zamówień w treści żądania.
Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”Array<integer>
Examplegenerated
[ 1]Array<integer>
Examplegenerated
[ 1]Array<integer>
Examplegenerated
[ 1]Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
Array<object>
object
connectionDefinitionId
string
labelsCount
integer format: int32
orders
Array<object>
object
id
string
labelsCount
integer format: int32
Examplegenerated
[ { "connectionDefinitionId": "example", "labelsCount": 1, "orders": [ { "id": "example", "labelsCount": 1 } ] }]
