Create a new order
Creates a new order, supports both sync and async execution modes
Need help with your first order?
We have a guide to help you get started with your first order including which execution mode to use.
Authorizations
Headers
The dated version of the API, if not specified a default is used. See API versioning for more information.
A unique string that prevents order duplication. See Idempotency for more information.
Whether to process the order synchronously or asynchronously. If this header is omitted we default to async. See which mode to use to help you decide which execution mode is right for your use case. Sync orders are limited to a single order item.
async
, sync
Body
The details of the order to create.
The body is of type object
.
Response
Response that will be returned in sync execution mode. Order has successfully been completed.
Used for an order that has completed. This class is typically used when returning a single order to the client. Used for orders that have completed. This class is typically used when returning a list of orders to the client.