Undo the cancel of a subscription of the signed-in customer
POST/v1/client/subscriptions/:subscriptionId/undo-cancel
Undo the cancel of a subscription of the signed-in customer
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
- 503
- 4XX
The client subscription.
Bad Request. The error's code is one of: credentials_in_query_string, invalid_api_version, idempotency_key_invalid, mode_header_invalid.
Unauthorized. The error's code is one of: authentication_required, authorization_header_malformed, access_token_invalid, api_client_revoked, publishable_key_not_allowed, server_credential_not_allowed, publishable_key_invalid, publishable_key_revoked, app_archived, customer_session_required, customer_session_invalid, customer_session_expired.
Forbidden. The error's code is one of: origin_not_allowed, permission_denied, account_required, vendor_client_required, account_not_accessible, team_member_required.
Not Found. The error's code is one of: resource_not_found.
Conflict. The error's code is one of: tax_not_determined, idempotency_key_reused, idempotency_request_in_progress, subscription_busy, command_set_aside, product_archived, price_archived, already_member, invoice_already_paid, checkout_session_complete, checkout_session_expired, invoice_void, payment_reference_in_use, customer_deleted, blocked, subscription_ended, subscription_incomplete, cancel_pending, cancel_not_pending, subscription_granted, renewal_due, renewal_deferred, price_unchanged, price_change_pending, price_change_not_pending, invoice_open, credit_exceeds_charge, subscription_has_several_items, test_clock_limit_reached, test_clock_advancing, test_clock_internal_failure, gateway_not_connected.
Unprocessable Content. The error's code is one of: parameter_invalid, customer_country_required.
Too Many Requests. The error's code is one of: rate_limit_exceeded.
Internal Server Error. The error's code is one of: internal_error.
Service Unavailable. The error's code is one of: billing_engine_unavailable, exchange_rate_unavailable, tax_service_unavailable.
Any other refusal the request meets, in the same envelope; its code is one of the client errors of the catalog.