SplitOrder

Required data for splitting an order.

Fields

FieldDescription
customerid
int 
(required)

The customer for the new order, when not provided will be the same as the current order.

Example value:37662
deliveryscenarioid
int 
(required)

The delivery scenario for the new order, when not provided will be the same as the current order.

Example value:1
paymentscenarioid
int 
(required)

The payment scenario for the new order, when not provided will be the same as the current order.

Example value:1
products
int[]

Product IDs that need to be moved from the current order to the new one

Example value:[ 574, 186 ]
regenerate_barcodes
bool

Assign new barcodes to tickets?

tickets
int[]

Ticket IDs that need to be moved from the current order to the new one

Example value:[ 324, 131 ]

Example

1{
2    "customerid": 37662,
3    "deliveryscenarioid": 1,
4    "paymentscenarioid": 1,
5    "products": [ 574, 186 ],
6    "regenerate_barcodes": false,
7    "tickets": [ 324, 131 ]
8}