ChargebeeAPI
Using AI coding agents like Claude Code or Cursor? Try the official Chargebee Agent Skills to speed up your development.Try now

Resource migrations

Resource Migration is used for finding the status of customer migration between Chargebee sites.

Sample Resource migrationJSON

API Index URL

https://[site].chargebee.com/api/v2/resource_migrations

Resource migrations attributes

from_site
required, string, min chars=4, max chars=50

Domain name to which the item is moved.

entity_type
required, enumerated string

Type of the entity this record is stored for

Possible Enum Values
customer

Entity that represents a customer

entity_id
required, string, max chars=100

Handle of the customer in the current site.

status
required, enumerated string, default=failed

Status of the copy customer process.

Possible Enum Values
scheduled

Scheduled

failed

Failed

succeeded

Succeeded

errors
optional, string, max chars=65k

Filled only if the copy operation gets failed

created_at
required, timestamp(UTC) in seconds

Time the log is created

updated_at
required, timestamp(UTC) in seconds

Time the log is updated