Update Order
Update an order.
Scopes: orders:write
Authorizations
You can generate an Organization Access Token from your organization's settings.
Path Parameters
The order ID.
Body
Response
Successful Response
The ID of the object.
Creation timestamp of the object.
Last modification timestamp of the object.
draft, pending, paid, refunded, partially_refunded, void "paid"
Whether the order has been paid for.
true
Amount in cents, before discounts and taxes.
10000
Discount amount in cents.
1000
Amount in cents, after discounts but before taxes.
9000
Sales tax amount in cents.
720
Amount in cents, after discounts and taxes.
9720
Customer's balance amount applied to this invoice. Can increase the total amount paid, if the customer has a negative balance, or decrease it, if the customer has a positive balance.Amount in cents.
0
Amount in cents that is due for this order.
0
Amount refunded in cents.
0
Sales tax refunded in cents.
0
"usd"
purchase, subscription_create, subscription_cycle, subscription_update The name of the customer that should appear on the invoice.
The invoice number associated with this order. null while the order is in draft status; assigned at finalize.
Whether an invoice has been generated for this order.
The receipt number for this order. Set once the order is paid for organizations with receipts enabled. When set, a downloadable receipt PDF can be obtained via the receipt endpoint.
Platform fee amount in cents.
500
Currency of the platform fee.
"usd"
- DiscountFixedOnceForeverDurationBase
- DiscountFixedRepeatDurationBase
- DiscountPercentageOnceForeverDurationBase
- DiscountPercentageRepeatDurationBase
Line items composing the order.
A summary description of the order.
"Pro Plan"
Amount in cents that can still be refunded (net, before taxes). Accounts for any applied customer balance and previous refunds.
9000
Sales tax in cents that would be refunded if the full refundable amount is refunded.
720
Number of seats purchased (for seat-based one-time orders).
Key-value object storing custom field values.

