Skip to content

What is the suggested API to create multiple subscriptions? #147

Answered by sags95
Anurag870 asked this question in Help
Discussion options

You must be logged in to vote

Hi @Anurag870 , with the Backend API you can certainly use the /orders endpoint to create multiple subscriptions. You would need to specify the purchase_option details like type and plan_id for each item. Most would use a cart instead of outright creating an order however, this would look quite similar but you would convert the cart instead of creating an order.

We also do have a Frontend API that you can use as well if you prefer doing this client-side: https://developers.swell.is/frontend-api/introduction

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Anurag870
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants