Subscriptions
Update a subscription
This endpoint allows you to update a subscription.
PUT
/
subscriptions
/
{external_id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
external_id
string
requiredExternal ID of the existing subscription
Body
application/json
status
enum<string>
If the field is not defined and multiple active
and pending
subscriptions exists, Lago will update the active
subscription. However, if you wish to update a pending
subscription, please ensure that you include the status
attribute with the pending
value in your request body.
Available options:
active
, pending
subscription
object
requiredResponse
200 - application/json
subscription
object
requiredWas this page helpful?