Add line
Changed onThis endpoint allows you to permanently adds a product to a subscription, ensuring it recurs in all future orders until removed.
post/2026-04/subscription/{subscriptionId}/line
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2026-04/subscription/{subscriptionId}/line
- AuthAPI key in header Authorization
Path parameters
subscriptionIdinteger required
The unique identifier of the subscription in Loop.
Request body
Response
Line added successfully
Example response
{
"success": true,
"message": "Line added successfully",
"data": {
"id": 39372,
"name": "Product 01",
"shopifyId": "25c0e4fa-4a11-4b3f-a259-15604cd669b2",
"variantShopifyId": 52329477341457,
"quantity": 2,
"price": "200.00",
"discountedPrice": 400,
"variantTitle": "Default Title",
"sku": "SKUID1234"
},
"code": "SUCCESS"
}Changes
- info
endpoint added
- info