Przejdź do głównej zawartości

Wyszukaj historię zmian zamówień (filtr)

POST
/api/v3/Orders/history
curl --request POST \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Orders/history \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "orderId": 1, "eventTypes": [ "example" ], "gtId": 1, "dateFrom": "2026-04-15T12:00:00Z", "offset": 1, "limit": 1, "type": "example", "createdBy": "example", "path": "example", "value": "example" }'

Zwraca stronicowaną historię zmian wielu zamówień według filtrów.

object
orderId
integer format: int64
nullable
eventTypes
Array<string>
nullable
gtId
integer format: int64
dateFrom
string format: date-time
nullable
offset
integer format: int32
limit
integer format: int32
type
string
nullable
createdBy
string
nullable
path
string
nullable
value
nullable
Examplegenerated
{
"orderId": 1,
"eventTypes": [
"example"
],
"gtId": 1,
"dateFrom": "2026-04-15T12:00:00Z",
"offset": 1,
"limit": 1,
"type": "example",
"createdBy": "example",
"path": "example",
"value": "example"
}

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