Skip to content

Commit c46a8b4

Browse files
authored
Include subscription set external id [ana-174] (#120)
1 parent 43f5eb6 commit c46a8b4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

chartmogul/api/activity.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class _Schema(Schema):
2323
description = fields.String()
2424
type = fields.String()
2525
subscription_external_id = fields.String(data_key="subscription-external-id")
26+
subscription_set_external_id = fields.String(data_key="subscription-set-external-id")
2627
plan_external_id = fields.String(data_key="plan-external-id")
2728
customer_name = fields.String(data_key="customer-name")
2829
customer_uuid = fields.String(data_key="customer-uuid")

test/api/test_activity.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def test_all(self, mock_requests):
2929
"type": "new_biz",
3030
"currency": "USD",
3131
"subscription-external-id": "sub_2",
32+
"subscription-set-external-id": "sub_2",
3233
"plan-external-id": "11",
3334
"customer-name": "customer_2",
3435
"customer-uuid": "8bc55ab6-c3b5-11eb-ac45-2f9a49d75af7",

0 commit comments

Comments
 (0)