Skip to content

Commit

Permalink
**APIs added**:
Browse files Browse the repository at this point in the history
A new resource called Order is introduced. This can be used for integrating ChargeBee with any shipping/order management application (like ShipStation). Orders are not automatically generated or updated by ChargeBee currently. They have to be created/updated either via api or merchant web console (a.k.a admin console). An order can be created against an invoice irrespective of the status of the invoice and an invoice can have multiple orders associated with it.
See https://apidocs.chargebee.com/docs/api/orders for details.

**API Updates**:
Ability to filter Invoices with painOnAfter. see https://apidocs.chargebee.com/docs/api/invoices#list_invoices.
  • Loading branch information
rraman committed Dec 2, 2014
1 parent 11f74d4 commit 740c282
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,13 @@
### v1.1.5 (2014-12-02)
* * *

**APIs added**:
A new resource called Order is introduced. This can be used for integrating ChargeBee with any shipping/order management application (like ShipStation). Orders are not automatically generated or updated by ChargeBee currently. They have to be created/updated either via api or merchant web console (a.k.a admin console). An order can be created against an invoice irrespective of the status of the invoice and an invoice can have multiple orders associated with it.
See https://apidocs.chargebee.com/docs/api/orders?lang=node for details.

**API Updates**:
Ability to filter Invoices with paid_on_after parameter. See https://apidocs.chargebee.com/docs/api/invoices?lang=node#list_invoices.

### v1.1.4 (2014-09-16)
* * *
No changes other than version update.
Expand Down
2 changes: 1 addition & 1 deletion lib/chargebee.js
Expand Up @@ -5,7 +5,7 @@ ChargeBee._env = {
hostSuffix: '.chargebee.com',
apiPath: '/api/v1',
timeout: 40000,
clientVersion: 'v1.1.4',
clientVersion: 'v1.1.5',
port: 443
};

Expand Down
37 changes: 37 additions & 0 deletions lib/resources/api_endpoints.js
Expand Up @@ -231,6 +231,43 @@ var _endpoints = {
true
]
],
"order": [
[
"create",
"POST",
"/orders",
null,
false
],
[
"update",
"POST",
"/orders",
null,
true
],
[
"retrieve",
"GET",
"/orders",
null,
true
],
[
"list",
"GET",
"/orders",
null,
false
],
[
"orders_for_invoice",
"GET",
"/invoices",
"/orders",
true
]
],
"transaction": [
[
"list",
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name" : "chargebee",
"version" : "1.1.4",
"version" : "1.1.5",
"description" : "A library for integrating with ChargeBee.",
"keywords" : ["payments","billing","subscription","chargebee"],
"homepage" : "http://github.com/chargebee/chargebee-node",
Expand Down

0 comments on commit 740c282

Please sign in to comment.