Bearer authentication header of the form Bearer <token>.
Query parameters
startAfterIdstringOptional
all entities after given Id
sizeintegerOptional
number of entities to show
Default: 25
tenantOrderIdstringOptional
filter orders by tenantOrderId
consumerIdstringOptional
filter orders by consumerId
Responses
200
Orders are found.
application/json
StrippedOrders
totalintegerOptional
Total number of found entities for this query
Example: 42
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this endpoint
application/json
get
/api/orders
Create order
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
OrderForCreation
customAttributesobjectOptional
Attributes that can be added to the order. These attributes cannot be used within fulfillment processes, but it could be useful to have the informations carried here.
orderDatestring · date-timeRequired
The date this order was created at the supplying system.
Example: 2020-02-03T08:45:50.525Z
statusstring · enumOptional
The state of the order. Initially it is OPEN.
Possible values:
tenantOrderIdstringOptional
Field can be used as a reference number in foreign systems, for example as a reference to the source system's identifier for this order.
Example: R456728546
Responses
201
The order was successfully created. The Location header contains the URL of the order.
application/json
400
Invalid input. See response for details
application/json
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this endpoint
application/json
post
/api/orders
Update order
patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
orderIdstringRequired
ID of Order you want to patch
Body
OrderForUpdate
commentstringOptional
A comment for updating this order.
customAttributesobject · nullableOptional
Attributes that can be added to the order. These attributes cannot be used within fulfillment processes, but it could be useful to have the informations carried here.
orderLineItemsany · nullableOptional
Updates the order line items of the order. All order lines must be included, only the included lines will remain after the update. type: array
preferredHandlingTimestring · date-timeOptional
Updates the preferred handling time for ship-from-store orders or the provisioning time for click-and-collect orders.
Example: 2025-01-15T00:00:00.000Z
versioninteger · int64Required
The version of the document to be used in optimistic locking mechanisms.
Example: 42
Responses
200
Order was found & patch-set has been applied. The patched entity is in the body.
application/json
Order
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this endpoint
application/json
404
Entity not found, for more information please look at details.
application/json
patch
/api/orders/{orderId}
Get order
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
orderIdstringRequired
ID of order you want to get
Responses
200
Order was found & you were allowed to access it. The result is in the body.
application/json
Order
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this endpoint
Bearer authentication header of the form Bearer <token>.
Body
OrderSearchPayload
afterstringOptional
The cursor to start after for forward pagination. The value is provided in the pageInfo.endCursor field of the response. Cannot be used with before or last.
beforestringOptional
The cursor to start before for backward pagination. The value is provided in the pageInfo.startCursor field of the response. Cannot be used with after or size (first).
lastnumber · min: 1 · max: 250Optional
Number of items to return for backward pagination. Cannot be used with 'size' (first). Default: 20.
sizenumber · min: 1 · max: 250Optional
Number of items to return for forward pagination. Cannot be used with 'last'. Default: 20.
startAfterIdstringOptionalDeprecated
The ID to start after. Deprecated, use after with the value provided in pageInfo.endCursor instead.
Responses
200
Your search result
application/json
OrderPaginatedResult
totalnumberOptional
The total number of items matching the search criteria. Only filled, if withTotal is set to true in the search options.
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this
application/json
post
/api/orders/search
Call order action
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
orderIdstringRequired
Reference to the order you want to call the action for
Body
OrderActionsParameter
or
or
or
or
or
or
Responses
200
Updated Order in the body.
application/json
Order
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this endpoint
application/json
404
Order not found or expired
application/json
post
/api/orders/{orderId}/actions
Call order line item action
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
orderIdstringRequired
Reference to the order you want to call the action for
orderLineItemIdstringRequired
Reference to the order line item you want to call the action for
Body
OrderLineItemActionsParameter
Responses
200
Updated Order in the body.
application/json
Order
401
Your user is not allowed to operate against this API instance
application/json
403
Your user, although recognized, is not authorized to use this endpoint