Skip to main content
GET
cURL
While the migration is a draft, this is its preview. Once it runs, progress counts its moves: queued (not made yet), scheduled (waiting for the subscriber’s renewal) and applied. It is done when nothing is queued. Needs the Catalog permission at Read.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The plan's ID.

Required string length: 1 - 100
Pattern: ^[a-zA-Z0-9_-]+$
migrationId
integer
required

The migration's ID, from its preview.

Response

The migration

migrationId
integer
required
planId
string
required
fromVersion
integer | null
required
toVersion
integer | null
required
timing
enum<string>
required
Available options:
now,
at_renewal
status
enum<string>
required

draft: a preview; nothing has moved. running: its moves are queued and being applied. done: every move has been made or scheduled for its renewal.

Available options:
draft,
running,
done
customers
integer
required

Subscribers who move: the preview's count while a draft, the queued moves once it runs.

Required range: x >= 0
byChange
object
required

How the moving subscribers' price changes.

progress
object
required

The moves' state once it runs.

skipped
object[]
required

Subscribers left on their version, and why.