admin管理员组

文章数量:1432146

We have subscriptions that contain two products. One is a monthly flat fee, and the other fee is based on metered usage.

I have successfully created such a subscription using the dashboard, and have been able to add a couple of hundred metered usage counts using the API.

My question is about creating another subscription for a new user (using the API). Do I need to create the entire subscription using the API, or is there a way to create the subscription using the dashboard, and then use the API to add new customers to the same subscription?

We have subscriptions that contain two products. One is a monthly flat fee, and the other fee is based on metered usage.

I have successfully created such a subscription using the dashboard, and have been able to add a couple of hundred metered usage counts using the API.

My question is about creating another subscription for a new user (using the API). Do I need to create the entire subscription using the API, or is there a way to create the subscription using the dashboard, and then use the API to add new customers to the same subscription?

Share Improve this question asked Nov 19, 2024 at 2:13 Jonathan WoodJonathan Wood 67.5k82 gold badges305 silver badges533 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

You can create a Subscription either via API or Dashboard (as you already did).

However, you will need to specify a Customer when create it (meaning you will need to create a new Customer in prior to creating a new Subscription). You can't do the otherwise of create a Subscription without a Customer first, then associate with a Customer later.

本文标签: cAdding customers to a subscription using the APIStack Overflow