post
https://api.loopsubscriptions.com/storefront/2023-10/subscription//line
This endpoint allows you to permanently adds a product to a subscription, ensuring it recurs in all future orders until removed.
Body parameters explained
sellingPlanGroupId- ThesellingPlanGroupIdrefers to the selling plan group ID associated with the variant that will be added.- If the
sellingPlanGroupIdis not provided, the system will assign the plan based on the priority of the available selling plan groups. - If the provided
sellingPlanGroupIdis invalid or does not exist, an error will be thrown.
- If the
