Update customer's subscription

Use /customers/:customerId/subscriptions endpoint to update customer's subscription. With this endpoint, customers can unsubscribe plans with cancellation reasons or resubscribe plans. Resubscribe is possible if the billing period is pending. In case of unsubscribing with cancellation reason you will see them in the subscribers report in Cleeng Dashboard.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Customer identifier at Cleeng

Body Params
string
required

ID of subscription to update, e.g. S123123123_US

string
required

New subscription status. One of: active, cancelled, terminated

string

Customer cancellation reason (value depends on your implementation). Max 100 characters. In case of subscription is being terminated reason will be stored in the subscribers report

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json