Remove line
Changed onThis endpoint allows you to permanently removes a product from all future subscription orders.
delete/2023-10/subscription/{subscriptionId}/line/{lineId}
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/line/{lineId}
- AuthAPI key in header Authorization
Path parameters
subscriptionIdinteger required
The unique identifier for a subscription in Loop.
lineIdinteger required
The unique identifier for a line in Loop.
Response
200
Example response
{
"success": true,
"message": "Line removed successfully",
"data": {
"name": "A Ring - 6",
"quantity": 2,
"price": "9.00"
},
"code": "SUCCESS"
}Changes
- breaking
the
response's property type changed from no type toobjectfor status - info
removed the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
to the response with the status
- breaking