POST
/
price_plans
/
migration
curl --request POST \
  --url https://api.togai.com/price_plans/migration \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "requireConfirmation": true,
  "sourceId": "pp.1zYnCiM9Bpg.lv25y",
  "sourceVersion": 1,
  "targetId": "pp.2zYnCiM9Bpg.bfeu2",
  "targetVersion": 2,
  "migrationMode": "IMMEDIATE"
}'
{
  "success": true
}

Deprecated: This API is deprecated and will be removed in a future release. Please use the Create a price plan v2 migration V2 API instead for updated functionality.

Authorizations

Authorization
string
header
required

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

Body

application/json

Payload to create price plan migration request

Request to create price plan migration request Migrate all account associations of a price plan to another price plan

Response

201
application/json

OK

The response is of type object.