Creates an order.
The createOrder()
function returns a Promise that resolves when the order is created.
Notes:
lineItems[i].itemType.preset: DIGITAL
- then lineItems[i].digitalFile
must be provided.lineItems[i].id
is passed, it must be either a valid GUID, or empty.You can only call this method when authenticated as a Wix app or Wix user identity.
Order info.