Add line once (for next order)
Changed onThis endpoint allows you to add a one-time product to the customer's next subscription order without affecting future recurring orders.
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/line/once
- AuthAPI key in header Authorization
Path parameters
The unique identifier of the subscription in Loop.
Request body
Response
200
Example response
{
"success": true,
"message": "Line added for next order successfully",
"data": {
"id": 2473902,
"name": "A Ring - 6",
"shopifyId": "6c2390a0-2d7d-4ce9-9cb0-2a08e7c8c10d",
"quantity": 2,
"price": "9.00"
},
"code": "SUCCESS"
}Changes
- breaking
the
response's property type changed from no type toobjectfor status - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
api operation id
add-line-onceremoved and replaced withadd-line-once-for-next-order - info
added the new optional request property
- 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