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).
Sample OrderJSON
Orders attributes
Uniquely identifies the order. It is the api identifier for the order
The invoice number which acts as an identifier for invoice and is generated sequentially.
The status of this order.
Order has been created. Applicable only if you are using Chargebee's legacy order management system.
Order is being processed. Applicable only if you are using Chargebee's legacy order management system
Order has been processed successfully. Applicable only if you are using Chargebee's legacy order management system
Order has been cancelled. Applicable only if you are using Chargebee's legacy order management system
Order has been voided. Applicable only if you are using Chargebee's legacy order management system
Cancellation reason
The invoice has been paid late and Chargebee cancel's the first order for the invoice.
Product unsatisfactory.
Third party cancellation.
Product not required.
Delivery date missed.
Order type
The order has been created by the user using Chargebee's legacy order management system.
The order has been created by Chargebee automatically based on the preferences set by the user.
The price type of the order
All amounts in the document are exclusive of tax.
All amounts in the document are inclusive of tax.
Reference id can be used to map the orders in the shipping/order management application to the orders in ChargeBee. The reference_id generally is same as the order id in the third party application.
The fulfillment status of an order as reflected in the shipping/order management application. Typical statuses include Shipped,Awaiting Shipment,Not fulfilled etc;
The date on which the order will start getting processed.
This is the date on which the order will be delivered to the customer.
The source (or the user) from where the order has been created.
The total amount issued as credits on behalf of this order.
The total amount that can be issued as credits for this order.
The timestamp indicating the date & time the order's invoice got paid.
The time after which an order becomes unservicable
The time at which the order status was last updated.
Version number of this resource. The resource_version
is updated with a new timestamp in milliseconds for every change made to the resource. This attribute will be present only if the resource has been updated after 2016-09-28.
Resent status of the order.
Order is Fully resent
Order is Partially resent
Reason code for resending the order. Must be one from a list of reason codes set in the Chargebee app in Settings > Configure Chargebee > Reason Codes > Orders > Order Resend. Must be passed if set as mandatory in the app. The codes are case-sensitive
The unique ID of the business entity of this subscription. This is always the same as the business entity of the customer.
The credit notes linked to the order