Skip to main content

Update subscription

Update a subscription by ID.

Path Parameters
    org_id string required
    billing_id string required

    ID of the billing account to update the subscription for

    id string required

    ID of the subscription to update

Request Body required
    metadata object
Responses

A successful response.


Schema
    subscription object
    id string
    customer_id string
    provider_id string
    plan_id string
    state string
    trial_days int32
    metadata object
    created_at date-time
    updated_at date-time
    canceled_at date-time
    ended_at date-time
Loading...