Authorizations
Enter your API key in the format x-api-key <api-key>*
Path Parameters
Subscription ID
Body
Pause subscription request
Request object for pausing an active subscription with various pause modes and options
immediate
, scheduled
, period_end
Whether to perform a dry run @Description If true, validates the request and shows impact without actually pausing the subscription @Example false
Additional metadata as key-value pairs @Description Optional metadata for storing additional information about the pause @Example {"requested_by": "customer", "channel": "support_ticket"}
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
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"
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"
Reason for pausing the subscription @Description Optional reason for the pause. Maximum 255 characters @Example "Customer requested temporary suspension"
255
Response
OK
Response object containing subscription pause information
EnvironmentID is the environment identifier for the pause
ID is the unique identifier for the subscription pause
OriginalPeriodEnd is the end of the billing period when the pause was created
OriginalPeriodStart is the start of the billing period when the pause was created
PauseEnd is when the pause will end (null for indefinite)
immediate
, scheduled
, period_end
PauseStart is when the pause actually started
none
, active
, scheduled
, completed
, cancelled
Reason is the reason for pausing
immediate
, scheduled
, auto
ResumedAt is when the pause was actually ended (if manually resumed)
published
, deleted
, archived
SubscriptionID is the identifier for the subscription