partners

POST /v1/partners/{partnersId}/subscriptions/{subscriptionsId}:suspend

Suspends a subscription. Contract terms may dictate if a prorated refund will be issued upon suspension. It should be called directly by the partner using service accounts.

Request

Path parameters

partnersIdstring required
subscriptionsIdstring required

Request body

suspendMode'SUSPEND_MODE_UNSPECIFIED' | 'SUSPEND_MODE_CANCEL_AFTER_GRACE_PERIOD' | 'SUSPEND_MODE_CANCEL_AFTER_RETENTION_PERIOD'

Optional. The mode to suspend the subscription. It's required for partners to specify the suspend mode, whether suspend immediately and indefinitely, or cancel the subscription after grace_period_millis or auto_cancel_duration_millis if it's not resumed.

Response

Successful response

Changes

No recorded changes to this operation across all 4 revisions of this API.