Pobierz historię zmian wielu zamówień po ID
POST
/api/v3/Orders/history/byIds
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Orders/history/byIds';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"orderIds":[1],"paths":["example"]}'};
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/history/byIds \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "orderIds": [ 1 ], "paths": [ "example" ] }'Odczyt – lista ID w treści żądania.
Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”object
orderIds
Array<integer>
paths
Array<string>
Examplegenerated
{ "orderIds": [ 1 ], "paths": [ "example" ]}object
orderIds
Array<integer>
paths
Array<string>
Examplegenerated
{ "orderIds": [ 1 ], "paths": [ "example" ]}object
orderIds
Array<integer>
paths
Array<string>
Examplegenerated
{ "orderIds": [ 1 ], "paths": [ "example" ]}Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
Array<Array<object>>
Examplegenerated
[ [ { "id": 1, "objectId": "example", "type": "example", "difference": {}, "createdAtUtc": "2026-04-15T12:00:00Z", "createdBy": "example" } ]]Bad Request
Typ treściapplication/json
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

