{
"omnichannel_subscription_item_scheduled_change": {
"omnichannel_subscription_item_id": "__test__osi_BXswds133lf1",
"scheduled_at": 1739345778,
"change_type": "downgrade",
"object": "omnichannel_subscription_item_scheduled_change",
"current_state": {
"item_id_at_source": "com.example.landmarks.premium"
},
"scheduled_state": {
"item_id_at_source": "com.example.landmarks.basic"
}
}
}
chargebee.omnichannel_subscription_item
omnichannel_subscription_item
. Learn more about status and their mapping with the store's status. omnichannel_subscription_item
is active
expiredWhen the subscription associated with the omnichannel_subscription_item
is expired
cancelledWhen the subscription associated with the omnichannel_subscription_item
is cancelled
in_dunningWhen the subscription associated with the omnichannel_subscription_item
is in_dunning
in_grace_periodWhen the subscription associated with the omnichannel_subscription_item
is in_grace_period
pausedWhen the subscription associated with the omnichannel_subscription_item
is paused
status
is active
. status
is active
. omnichannel_subscription_item
was expired
in the source
omnichannel_subscription_item
was cancelled
in the source
omnichannel_subscription_item
expires in the source
source
provides renewal information (currently available only for Google Play Store purchases) and the omnichannel_subscription_item
's auto_renew_status is set to on
to renew for the next term. Otherwise, this field is absent.omnichannel_subscription_item_scheduled_change
associated with the specified omnichannel_subscription_item
.import { ChargeBee, _omnichannel_subscription_item } from 'chargebee-typescript'; var chargebee = new ChargeBee(); chargebee.configure({site : "{site}", api_key : "{site_api_key}"}); chargebee.omnichannel_subscription_item.list_omni_sub_item_schedule_changes("{omnichannel-subscription-item-id}").request(function(error,result) { if(error){ //handle error console.log(error); }else{ for(var i = 0; i < result.list.length;i++){ var entry=result.list[i] console.log(`${entry}`); var omnichannel_subscription_item_scheduled_change: typeof chargebee.omnichannel_subscription_item_scheduled_change = entry.omnichannel_subscription_item_scheduled_change; } } });
import { ChargeBee, _omnichannel_subscription_item } from 'chargebee-typescript'; var chargebee = new ChargeBee(); chargebee.configure({site : "{site}", api_key : "{site_api_key}"}); chargebee.omnichannel_subscription_item.list_omni_sub_item_schedule_changes("{omnichannel-subscription-item-id}").request(function(error,result) { if(error){ //handle error console.log(error); }else{ for(var i = 0; i < result.list.length;i++){ var entry=result.list[i] console.log(`${entry}`); var omnichannel_subscription_item_scheduled_change: typeof chargebee.omnichannel_subscription_item_scheduled_change = entry.omnichannel_subscription_item_scheduled_change; } } });
chargebee.omnichannel_subscription_item.list_omni_sub_item_schedule_changes(<omnichannel_subscription_item_id>,{<param name> : <value>,<param name> : <value> ...})