Przejdź do głównej zawartości

Pobierz historię zmian zamówienia

GET
/api/v3/Orders/{orderId}/history
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.

orderId
wymagane
integer format: int64
offset
integer format: int32
0
limit
integer format: int32
default: 100
path
Array<string>

Success

Typ treściapplication/json
object
list
Array<object>
nullable
object
id
integer format: int64
nullable
objectId
string
nullable
type
string
nullable
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
nullable
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
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Server Error