Reschedule order

Changed on

This endpoint allows you to update the next billing date for a subscription, allowing the upcoming order to be rescheduled to a new date.

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

Request

  • Base URL
    https://api.loopsubscriptions.com/storefront
  • URL
    https://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/reschedule
  • Auth
    API key in header Authorization

Path parameters

subscriptionIdinteger required

The unique identifier for a subscription in Loop.

Request body

newBillingDateEpochinteger

The new billing date in Unix epoch format (seconds). This determines when the next order will be billed after rescheduling.

timezonestring

This field specifies user's timezone

Response

200

successboolean
messagestring
codestring
pageInfounknown

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 from int64 to int32

    • breaking

      the response's property type changed from no type to object for status

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      api operation id reschedule removed and replaced with reschedule-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