v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

Change subscription plan

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

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
{"stackTrail":"paths:/2023-10/subscription/{subscriptionId}/subscriptionPlan/update:post:responses:200:content:application/json:schema:properties:data","oasType":"schema","type":"unknown"}
codestring

Example response

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