Przejdź do głównej zawartości

Pobierz operacje wykonane na zamówieniu

GET
/api/v1/OrdersOperations
curl --request GET \
--url 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v1/OrdersOperations?offset=0&limit=100' \
--header 'Authorization: Bearer <token>'

Zwraca operacje synchronizacji z platformą źródłową dla zamówienia wskazanego ID połączenia i numerem zewnętrznym.

connectionId
integer format: int64
platformOrderId
string
offset
integer format: int32
0
limit
integer format: int32
default: 100

Success

Typ treściapplication/json
Array<object>
object
id
integer format: int64
createdAt
string format: date-time
orderId
integer format: int64
connectionId
integer format: int64
platformOrderId
string
nullable
type
string
Dozwolone wartości: Create Remove Modify Merge Split
owner
string
nullable
Example
[
{
"type": "Create"
}
]

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

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"
}