Create an order from a cartID
Use this endpoint to convert an existing cart into a full order that will be filed. We recommend doing this when customer checks out or the order has been submitted, rather than when payment is collected. Note that the transactionDate will be the moment the endpoint is called.
Path parameters
connectionId
represents the ID of a connection. It is used as a unique identifier for the connection
Headers
X-API-KEY
Request
This endpoint expects an object.
cartId
Id that represents this cart.
orderId
orderId in external system
completed
was the order shipped, creating a tax liability.
Response
Created
connectionId
represents the ID of a connection. It is used as a unique identifier for the connection
currency
represents information about a currency including its code and denomination.
customerId
customerId in external system
deliveredBySeller
represents if the seller directly delivered the order.
destination
the destination address of the order
excludeFromFiling
Whether to exclude from filing
exemption
information about exemption on the order
lineItems
orderId
orderId in external system
origin
the origin address of the order
transactionDate
The RFC3339 datetime string the order was purchased on
$schema
A URL to the JSON Schema for this object.
channel
what channel did this come from
completedDate
The RFC3339 datetime string the order was shipped on, created a tax liability