Reschedule order
Changed onThis endpoint allows you to update the next billing date for a subscription, allowing the upcoming order to be rescheduled to a new date.
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/reschedule
- AuthAPI key in header Authorization
Path parameters
The unique identifier for a subscription in Loop.
Request body
Response
200
Example response
{
"success": true,
"message": "Order rescheduled successfully",
"data": {
"id": 801000,
"shopifyId": 3760324761,
"status": "ACTIVE",
"nextBillingDateEpoch": 1703037600,
"totalLineItemDiscountedPrice": 18,
"currencyCode": "USD"
},
"code": "SUCCESS"
}Changes
- breaking
the
request property format changed fromint64toint32 - breaking
the
response's property type changed from no type toobjectfor status - warning
removed the request property
- warning
removed the request property
- info
api operation id
rescheduleremoved and replaced withreschedule-order - info
added the new optional request property
- info
the request property
became optional - info
added 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