Site Migration details is used for finding the records that are moved in and moved out from one Chargebee site to another.
{
"site_migration_detail": {
"entity_id": "__test__KyVnHhSBWT9AW8j",
"entity_id_at_other_site": "__test__KyVnHhSBWT9AW8j",
"entity_type": "customer",
"migrated_at": 1600704658,
"object": "site_migration_detail",
"other_site_name": "mannar",
"status": "moved_in"
}
}
ChargeBee::SiteMigrationDetail
require 'chargebee' ChargeBee.configure(:site => "{site}", :api_key => "{site_api_key}") list = ChargeBee::SiteMigrationDetail.list({ :limit => 3 }) list.each do |entry| site_migration_detail = entry.site_migration_detail end
require 'chargebee' ChargeBee.configure(:site => "{site}", :api_key => "{site_api_key}") list = ChargeBee::SiteMigrationDetail.list({ :limit => 3 }) list.each do |entry| site_migration_detail = entry.site_migration_detail end
ChargeBee::SiteMigrationDetail.list({<param name> => <value>,<param name> => <value> ...})