Note: This doc is for the latest version of Chargebee Orders. If you enabled Chargebee Orders before September-30-2018 , you may be using the legacy version of the feature and its API. For help in migrating to the current system or using the legacy API for Chargebee Orders, please contact support
Orders are automatically generated for an invoice when it gets paid, based on the shipping preference chosen for the invoice's product and the shipping date configuration. They can be updated either via api or merchant web console (a.k.a admin console).
{
"created_at": 1517678686,
"created_by": "full_access_key_v1",
"deleted": false,
"id": "__test__KyVnHhSBWlm1j2m7",
"invoice_id": "__demo_inv__2",
"object": "order",
"order_type": "manual",
"price_type": "tax_exclusive",
"status": "new",
"status_update_at": 1517678686
}Updates an order. If the status of an order is changed while updating the order, the status_update_at attribute is set with the current time.
Import an order for an invoice with one or more line items. The import order bulk operation is to be applied on an imported invoice.
Assigns order number to the order based on the settings, if not already assigned
Cancel order and create a refundable credit note for the order
This API is used to create a refundable credit note for the order
This API is used to re-open a cancelled order
Retrieves an order corresponding to the order id passed.
Deletes only Imported Order .Delete does not happen if the order was refunded. It goes through if order refund was initiated and is in "refund_due" state.
This API is used to retrieve a list of all the available orders.
Resend an existing order. This will help in resending an existing order in full or partial. Upto 5 resend operations are allowed per . When resent fully, the original order is canceled.