Update Order
Available on Enterprise Plan
Forwards to TaxCloud PATCH /connections/{connectionId}/orders/{orderId}. orderId is a path identifier; the remaining body is the update payload relayed unchanged.
Authentication
X-API-KEYstring
API Key authentication via header
Request
This endpoint expects an object.
merchantId
UUID of the merchant. Must be owned by the calling account. Consumed by the Ziptax layer for routing and not forwarded to TaxCloud.
orderId
Your identifier for the order to update, as supplied when the order was created. Consumed for routing and not forwarded in the update payload.
completedDate
RFC3339 datetime the order was shipped on, which creates the tax liability.
Response
TaxCloud response relayed verbatim.
channel
The sales channel the order came from (e.g. amazon, ebay, walmart). Null when no channel was recorded.
connectionId
The TaxCloud connection the order was recorded under.
currency
The currency the prices and tax amounts are denominated in.
customerId
Your identifier for the customer in your own system.
deliveredBySeller
Whether the seller delivered the order directly.
destination
The ship-to (destination) address of the order.
excludeFromFiling
Whether the order is excluded from tax filing.
exemption
The exemption information recorded on the order.
kind
The kind of order: ‘order’ for a sale or ‘credit’ for a credit order.
orderId
Your identifier for the order in your own system.
origin
The ship-from (origin) address of the order.
batchId
Batch ID grouping this order with related orders, if one was supplied.
completedDate
RFC3339 datetime the order was shipped/completed on, creating the tax liability. Absent for orders that are not yet completed.
lineItems
The order's line items, each with its tax rate and amount.
refunds
Refunds recorded against this order. Only included when the request set expand to 'refunds'.
transactionDate
RFC3339 datetime the order was purchased on.
Errors
400
Merchant Order Update Body Bad Request Error
401
Merchant Order Update Body Unauthorized Error
403
Merchant Order Update Body Forbidden Error
404
Merchant Order Update Body Not Found Error
413
Merchant Order Update Body Content Too Large Error
422
Merchant Order Update Body Unprocessable Entity Error
429
Merchant Order Update Body Too Many Requests Error
500
Merchant Order Update Body Internal Server Error
502
Merchant Order Update Body Bad Gateway Error
504
Merchant Order Update Body Gateway Timeout Error