v1

latestOpenAPI 3.1.0Apache 2.02026-07-2473175248.0 KB
7. Async Orders

Create an Async Order under a specific Account.

post/asyncOrders

Request body

externalRefIDstring required

Required. Idempotent field that can be used for client-side order cross reference and prevent accidental order duplication. Will be returned in order response.

customerIdentifierstring required

specify the customer associated with the order. Must be the customer the accountIdentifier is associated with.

accountIdentifierstring required

specify the account this order will be deducted from

campaignstring

Optional. Campaign that may be used to administratively categorize a specific order. Must be between 0 and 1024 characters in length.

purchaseOrderNumberstring

The Purchase Order Number associated with this order.

notesstring

Optional order notes. Must be between 0 and 1024 characters in length.

Example request

{
  "lineItems": [
    {
      "etid": "E000000"
    }
  ]
}

Response

OK

externalRefIDstring

Required. Idempotent field that can be used for client-side order cross reference and prevent accidental order duplication. Will be returned in order response.

statusstring

This status reflects about cart status or validation status based on the processing

totalLineItemsinteger

Total number of line items submitted in the request

createdAtstring date-time
duplicateLineItemRefIdsobject

If any duplicate duplicateLineItemRefIds exist in the request