curl --request GET \
--url https://api.withorb.com/v1/subscription_changes \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"status": "pending",
"expiration_time": "2023-11-07T05:31:56Z",
"subscription_id": "<string>",
"applied_at": "2023-11-07T05:31:56Z",
"cancelled_at": "2023-11-07T05:31:56Z"
}
],
"pagination_metadata": {
"has_more": true,
"next_cursor": "<string>"
}
}This endpoint returns a list of pending subscription changes for a customer. Use the Fetch Subscription Change endpoint to retrieve the expected subscription state after the pending change is applied.
curl --request GET \
--url https://api.withorb.com/v1/subscription_changes \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"status": "pending",
"expiration_time": "2023-11-07T05:31:56Z",
"subscription_id": "<string>",
"applied_at": "2023-11-07T05:31:56Z",
"cancelled_at": "2023-11-07T05:31:56Z"
}
],
"pagination_metadata": {
"has_more": true,
"next_cursor": "<string>"
}
}API Keys can be issued in the Orb's web application.
The number of items to fetch. Defaults to 20.
1 <= x <= 100Cursor for pagination. This can be populated by the next_cursor value returned from the initial request.
pending, applied, cancelled Was this page helpful?