Skip to main content
POST
Migrate To A Plan Version

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

The subscription ID

Body

application/json

The plan version to move the subscription to.

targetVersionNumber
integer
required

The number of a published version of the subscription's plan.

Required range: 1 <= x <= 2147483647

Response

The subscription after the migration, and what the migration did. If changed is false, nothing moved.

subscription
object
required
migration
object
required
lineItems
object
required