c# - Adding customers to a subscription using the API - Stack Overflow

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

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745585931a4634539.html

相关推荐

  • c# - Adding customers to a subscription using the API - Stack Overflow

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

    8小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信