Subscriptions

Pause a subscription

Use when temporarily stopping a subscription (e.g. customer hold or seasonal pause). Billing and access pause; resume when ready.

post/subscriptions/{id}/pause

Path parameters

idstring required

Subscription ID

Request body

dry_runboolean

Whether to perform a dry run @Description If true, validates the request and shows impact without actually pausing the subscription @Example false

metadataobject

Additional metadata as key-value pairs @Description Optional metadata for storing additional information about the pause @Example {"requested_by": "customer", "channel": "support_ticket"}

pause_daysinteger

Duration of the pause in days @Description Number of days to pause the subscription. Cannot be used together with pause_end. Must be greater than 0 @Example 30

pause_endstring

End date for the subscription pause @Description ISO 8601 timestamp when the pause should end. Cannot be used together with pause_days. Must be after pause_start @Example "2024-02-15T00:00:00Z"

pause_mode'immediate' | 'scheduled' | 'period_end' required
pause_startstring

Start date for the subscription pause @Description ISO 8601 timestamp when the pause should begin. Required when pause_mode is "scheduled" @Example "2024-01-15T00:00:00Z"

reasonstring

Reason for pausing the subscription @Description Optional reason for the pause. Maximum 255 characters @Example "Customer requested temporary suspension"

Response

OK

created_atstring
created_bystring
environment_idstring

EnvironmentID is the environment identifier for the pause

idstring

ID is the unique identifier for the subscription pause

metadataTypesMetadata
original_period_endstring

OriginalPeriodEnd is the end of the billing period when the pause was created

original_period_startstring

OriginalPeriodStart is the start of the billing period when the pause was created

pause_endstring

PauseEnd is when the pause will end (null for indefinite)

pause_mode'immediate' | 'scheduled' | 'period_end'
pause_startstring

PauseStart is when the pause actually started

pause_status'none' | 'active' | 'scheduled' | 'completed' | 'cancelled'
reasonstring

Reason is the reason for pausing

resume_mode'immediate' | 'scheduled' | 'auto'
resumed_atstring

ResumedAt is when the pause was actually ended (if manually resumed)

status'published' | 'deleted' | 'archived'
subscription_idstring

SubscriptionID is the identifier for the subscription

tenant_idstring
updated_atstring
updated_bystring

Changes