Net D for Subscriptions: API Change Summary
Overview
This document provides information on the changes made to the Chargebee Public APIs for specifying payment terms (Net D) at the subscription level.
The Net D feature helps define the number of days within which a closed invoice must be paid. Net D can be defined at the customer level so that all the customer’s invoices follow this setting.
With this new feature, you can define Net D for any subscription so that all its invoices follow the defined setting.
Change Summary
Subscription resource
New attribute added
Name | Description |
---|---|
| integer optional |
Sample
Subscription endpoints
Create a subscription for items
post https://{site}.chargebee.com/api/v2/customers/{customer_id}/subscription_for_items
New body parameter added
Name | Description |
---|---|
| integer optional
|
Samples
Update subscription for items
post https://{site}.chargebee.com/api/v2/subscriptions/{subscription_id}/update_for_items
New body parameter added
Name | Description |
---|---|
| integer optional
|
Samples
Import subscription for items
post https://{site}.chargebee.com/api/v2/customers/{customer_id}/import_for_items
New body parameter added
Name | Description |
---|---|
| integer optional
|
Samples
- 1 Overview
- 2 Change Summary
- 2.1 Subscription resource
- 2.1.1 New attribute added
- 2.1.2 Sample
- 2.2 Subscription endpoints
- 2.2.1 Create a subscription for items
- 2.2.1.1 New body parameter added
- 2.2.1.2 Samples
- 2.2.2 Update subscription for items
- 2.2.2.1 New body parameter added
- 2.2.2.2 Samples
- 2.2.3 Import subscription for items
- 2.2.3.1 New body parameter added
- 2.2.3.2 Samples
- 2.2.1 Create a subscription for items
- 2.1 Subscription resource