cart

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.

post/tax/connections/{connectionId}/carts/orders

Request

  • Base URL: https://api.v3.taxcloud.com
  • URL: https://api.v3.taxcloud.com/tax/connections/{connectionId}/carts/orders
  • Auth: HTTP bearer

Path parameters

connectionIdstring required

represents the ID of a connection. It is used as a unique identifier for the connection

Request body

$schemastring uri

A URL to the JSON Schema for this object.

cartIdstring required

Id that represents this cart.

completedboolean

was the order shipped, creating a tax liability.

completedDatestring date-time

The date the order was shipped on, which created a tax liability. If provided, takes precedence over the completed field.

kind'credit' | 'order'

The kind of order to create. Defaults to 'order'. Use 'credit' for credit orders.

orderIdstring required

orderId in external system

Response

Created

$schemastring uri

A URL to the JSON Schema for this object.

batchIdstring

Batch ID for grouping orders

channelstring nullable required

what channel did this come from

completedDatestring date-time

The RFC3339 datetime string the order was shipped on, created a tax liability

connectionIdstring required

represents the ID of a connection. It is used as a unique identifier for the connection

customerIdstring required

customerId in external system

deliveredBySellerboolean required

represents if the seller directly delivered the order.

excludeFromFilingboolean required

Whether to exclude from filing

kind'credit' | 'order' required

The kind of order, either credit or order. Defaults to order if not provided.

orderIdstring required

orderId in external system

transactionDatestring date-time required

The RFC3339 datetime string the order was purchased on

Changes

No recorded changes to this operation across all 1 revision of this API.