This endpoint allows you to place an next scheduled order immediately for a subscription, regardless of its original billing date.

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

Request

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

Path parameters

subscriptionIdinteger required

The unique identifier for a subscription in Loop.

Request body

cancellationFlowIdinteger

This parameter is used to log the cancellation reason performance.

Response

200

successboolean
messagestring
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Billing attempted on Shopify successfully",
  "data": {
    "id": 801000,
    "shopifyId": 3760324761,
    "status": "ACTIVE",
    "nextBillingDateEpoch": 1703460659,
    "totalLineItemDiscountedPrice": 90,
    "currencyCode": "USD"
  },
  "code": "SUCCESS"
}

Changes

    • breaking

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

    • warning

      removed the request property

    • info

      api operation id place-order removed and replaced with charge-now

    • 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

    • info

      added the optional property / to the response with the status