Skip to content

Change plan

PUT/admin/v1/stores/{store_id}/apps/installations/{installation_id}/subscription
  • apps:manage

Move the app to another of its plans: the current period ends unrefunded and the new plan starts now.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • installation_idstringrequired

    The installation's ID, like inst_01k8qs5s….

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • plan_idstringrequired

    TypeID with the aplan prefix.

Returns

200 The new subscription.

Errors

  • 409Already on this plan (same_plan).
  • 422validation_failedNot one of the app's plans.