Pobierz historię zmian zamówienia
GET
/api/v3/Orders/{orderId}/history
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Orders/1/history?offset=0&limit=100';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/1/history?offset=0&limit=100' \ --header 'Authorization: Bearer <token>'Zwraca stronicowaną historię zmian zamówienia, opcjonalnie zawężoną do ścieżki pola.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”orderId
wymagane
integer format: int64
Parametry zapytania
Dział zatytułowany „Parametry zapytania”offset
integer format: int32
limit
integer format: int32
path
Array<string>
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
object
list
Array<object>
object
id
integer format: int64
objectId
string
type
string
difference
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
options
object
propertyNameCaseInsensitive
boolean
parent
object recursive
root
object
options
object
propertyNameCaseInsensitive
boolean
parent
object recursive
root
object recursive
root
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
options
object
propertyNameCaseInsensitive
boolean
parent
object recursive
root
object recursive
root
object recursive
createdAtUtc
string format: date-time
createdBy
string
pageNumber
integer format: int32
total
integer format: int32
Examplegenerated
{ "list": [ { "id": 1, "objectId": "example", "type": "example", "difference": {}, "createdAtUtc": "2026-04-15T12:00:00Z", "createdBy": "example" } ], "pageNumber": 1, "total": 1}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

