v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

Delay order

This endpoint allows you to delay the next order by a specified number of days without changing the overall billing frequency.

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

Path parameters

subscriptionIdinteger required

The unique identifier for a subscription in Loop.

Request body

daysinteger

Number of days to delay the next order.

cancellationFlowIdinteger

This parameter is used to log the cancellation reason performance.

Response

200

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

Example response

{
  "success": true,
  "message": "Subscription delayed successfully",
  "data": {
    "id": 801000,
    "shopifyId": 3760324761,
    "status": "ACTIVE",
    "nextBillingDateEpoch": 1703901600,
    "totalLineItemDiscountedPrice": 18,
    "currencyCode": "USD"
  },
  "code": "SUCCESS"
}