Creates a Scheduled Order. Related entities can also be created on the fly if the data is sent as follows:
Scheduled Order Items
scheduledOrderItems field to specify items to be created along with the Scheduled Order
A new Customer will be created and assigned to the new Scheduled Order provided it's required data is set in the
customer field and the
customerId field is empty.
A new Payment Method will be created and assigned to the new Scheduled Order provided its required data is set in the
paymentMethod field and the
paymentMethodId field is empty.
If neither of the fields are specified, then QPilot will assign the Customer's default Payment Method (a Payment Method where the
isDefault attribute is
true) to the Scheduled Order.
Products on Scheduled Order Items
A new Product will be created and assigned to the corresponding Scheduled Order Item provided its required data is set in the
product field within the item.
If no shipping fields are specified on the Scheduled Order, then the Customer shipping data will be used for the Scheduled Order.