Error
A valid request URL is required to generate request examples{
"confirmation_url": "<string>",
"change": "subscribe",
"applies": "immediately",
"trial_days": 123,
"app_subscription_id": "<string>",
"plan": {
"plan_id": "<string>",
"display_name": "<string>",
"products": [
"search"
],
"size": "s"
}
}{
"detail": "<string>",
"code": "plan_not_found",
"active": 123,
"kept": 123,
"max": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"code": "plan_not_found",
"active": 123,
"kept": 123,
"max": 123
}{
"detail": "<string>",
"code": "plan_not_found",
"active": 123,
"kept": 123,
"max": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}API Reference
Subscribe to, upgrade or downgrade to a plan (products + size)
Resolves the selection to a catalogue plan and creates a pending Shopify app subscription replacing the current one; returns the confirmation URL the merchant must open to approve it. Nothing is billed or changed until they approve, except that a downgrade to a plan without Merchandising deactivates the collections not in keep_collection_ids. Upgrades and lateral moves apply immediately (prorated), downgrades at the next billing cycle. See GET /settings/subscription/plans for what can be bought.
POST
/
settings
/
subscription
Error
A valid request URL is required to generate request examples{
"confirmation_url": "<string>",
"change": "subscribe",
"applies": "immediately",
"trial_days": 123,
"app_subscription_id": "<string>",
"plan": {
"plan_id": "<string>",
"display_name": "<string>",
"products": [
"search"
],
"size": "s"
}
}{
"detail": "<string>",
"code": "plan_not_found",
"active": 123,
"kept": 123,
"max": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"code": "plan_not_found",
"active": 123,
"kept": 123,
"max": 123
}{
"detail": "<string>",
"code": "plan_not_found",
"active": 123,
"kept": 123,
"max": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Body
application/json
Response
The pending change and its confirmation URL.
Was this page helpful?

