billing

Update a Stripe subscription (plan change, quantity)

Changed on
post/billing/update-subscription

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/billing/update-subscription
  • Auth: one of:
    • API key in cookie session
    • HTTP bearer

Request body

subscriptionIdstring required
priceIdstring
quantityinteger

Response

Subscription updated

Changes