v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

Reschedule subscription

This endpoint allow you to reschedule the next billing date of the upcoming order for an existing subscription.

post/2023-10/subscription/{subscriptionId}/reschedule

Path parameters

subscriptionIdinteger required

The unique identifier of the subscription in Loop.

Request body

newBillingDateEpochinteger required

New billing date (in epoch seconds) of the subscription.

rescheduleFutureOrdersboolean

By default the value will be passed as true.

notifyCustomerboolean

By default the value will be passed as true.

Response

200

successboolean
messagestring
{"stackTrail":"paths:/2023-10/subscription/{subscriptionId}/reschedule:post:responses:200:content:application/json:schema:properties:data","oasType":"schema","type":"unknown"}
codestring
{"stackTrail":"paths:/2023-10/subscription/{subscriptionId}/reschedule:post:responses:200:content:application/json:schema:properties:pageInfo","oasType":"schema","type":"unknown"}

Example response

{
  "success": true,
  "message": "Subscription rescheduled successfully",
  "code": "SUCCESS"
}