Partner Change Request Management

Endpoints for managing partner change requests

Get list of Partner Change Requests

get

This endpoint fetches list of all partner change requests to your partner hub.

Authorizations
X-API-KeystringRequired

API Key for V2 authentication. Send your Partner API key in the X-API-Key header. Preferred authentication method.

Path parameters
partner_idstringRequired

The ID of the partner.

Example: examplePA
Query parameters
sortstring · enumOptional

Sort results by partner change request fields

Example: created_atPossible values:
offsetintegerOptional

Number of results to skip

Example: 10
limitintegerOptional

Maximum number of results to return

Example: 10
Responses
chevron-right
200

Successful response

application/json
limitintegerOptional

Maximum number of results to return

Example: 10
offsetintegerOptional

Number of results to skip

Example: 0
sortstring[]Optional

Sort results by partner change request fields

Example: ["-created_at"]
totalintegerOptional

Total number of results

Example: 1
countintegerOptional

Number of results returned

Example: 1
get
/api/v2/partners/{partner_id}/selective_partner_change_requests

Approve Partner Change Request

post

This endpoint approves a partner change request by ID. After approval, the background process will start and a client will be migrated.

Authorizations
X-API-KeystringRequired

API Key for V2 authentication. Send your Partner API key in the X-API-Key header. Preferred authentication method.

Path parameters
partner_idstringRequired

The ID of the partner.

Example: examplePA
pcr_idstringRequired

The ID of the partner change request.

Example: random-string-id
Responses
chevron-right
200

Successful response

application/json
idstringOptional

ID of partner change request object.

Example: examplePCR
statusstringOptional

Status of partner change request object. Possible values: created,pending,completed,failed

Example: completed
is_full_migrationbooleanOptional

True means all client channels were/will be moved in this pcr. False means partial migration.

Example: true
source_client_idstringOptional

Original client id.

Example: exampleCL
target_client_idstringOptional

The copy/clone client id that will be created under target partner (only required for partial migrations).

Example: exnewCL
source_partner_idstringOptional

Original partner id.

Example: exoldPA
target_partner_idstringOptional

Client will be moved to this partner id.

Example: exnewPA
migrated_channelsstring[]Optional

List of channel ids that will be migrated to target partner.

Example: ["abOd1CH","oe78HsCH"]
created_atstringOptional

Datetime of when this PCR was created.

Example: 2023-01-02T12:00:00Z
modified_atstringOptional

Datetime of when this PCR was updated.

Example: 2023-01-04T12:00:00Z
post
/api/v2/partners/{partner_id}/selective_partner_change_requests/{pcr_id}/approve

Last updated

Was this helpful?