Przejdź do głównej zawartości

Pobierz historię statusów zamówienia

GET
/api/v3/Orders/{orderId}/statusHistory
curl --request GET \
--url 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Orders/1/statusHistory?offset=0&limit=100' \
--header 'Authorization: Bearer <token>'

Zwraca stronicowaną listę zmian statusu danego zamówienia.

orderId
wymagane
integer format: int64
offset
integer format: int32
0
limit
integer format: int32
default: 100

Success

Typ treściapplication/json
object
list
Array<object>
nullable
object
id
integer format: int64
statusId
integer format: int64
statusName
string
nullable
statusShortName
string
nullable
statusDescription
string
nullable
changedAtUtc
string format: date-time
previousStatusName
string
nullable
previousStatusId
integer format: int64
nullable
changedBy
string
nullable
pageNumber
integer format: int32
total
integer format: int32
Examplegenerated
{
"list": [
{
"id": 1,
"statusId": 1,
"statusName": "example",
"statusShortName": "example",
"statusDescription": "example",
"changedAtUtc": "2026-04-15T12:00:00Z",
"previousStatusName": "example",
"previousStatusId": 1,
"changedBy": "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