Change subscription plan

post/2023-10/subscription/{subscriptionId}/subscriptionPlan/update

Request

  • Base URL
    https://api.loopsubscriptions.com/admin
  • URL
    https://api.loopsubscriptions.com/admin/2023-10/subscription/{subscriptionId}/subscriptionPlan/update
  • Auth
    API key in header X-Loop-Token

Path parameters

subscriptionIdinteger required

Request body

sellingPlanShopifyIdinteger required

Shopify ID of the new frequency

nextBillingDateEpochinteger required

Epoch of the next billing date for the subscription

Response

200

successboolean
messagestring
dataunknown
codestring

Example response

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

Changes

No recorded changes to this operation across all 1 revision of this API.