Remove line once (for next order)
Changed onThis endpoint allows you to removes a product only from the next scheduled order, keeping it in future recurring orders.
delete/2023-10/subscription/{subscriptionId}/line/{lineId}/once
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/line/{lineId}/once
- 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 from the upcoming order",
"data": {
"name": "A Ring - 6",
"quantity": 2,
"price": "9.00"
},
"code": "SUCCESS"
}Changes
- breaking
removed the request body
- breaking
for the
pathrequest parameterlineId, the type changed fromstringtointeger, and format from no format toint64 - breaking
for the
pathrequest parametersubscriptionId, the type changed fromstringtointeger, and format from no format toint64 - info
api operation id
delete_2023-10-subscription-subscriptionid-line-lineid-onceremoved and replaced withremove-line-once-for-next-order - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- breaking