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 badges1 Answer
Reset to default 0You 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
版权声明:本文标题:c# - Adding customers to a subscription using the API - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745585930a2664905.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论