Create orders in batch

Create multiple orders at one time instead of one order at a time

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Request

This endpoint expects an object.
orderslist of objectsRequired
array of order objects
historicalbooleanOptionalDefaults to true

Defines wether you want your orders to be considered as live data or as historical data (import of past data, synchronising data). True: orders will not trigger any automation workflows. False: orders will trigger workflows as usual.

notifyUrlstringOptional

Notify Url provided by client_dev to get the status of batch request

Response

batch id created
batchIddouble
Batch ID of the request
countlong or null
Number of orders

Errors