subscriptions
public
patch/v1/subscriptions/{id}
Request
- Base URLhttps://api.polar.sh
- URLhttps://api.polar.sh/v1/subscriptions/{id}
- Auth
- OpenID Connect (/.well-known/openid-configuration, scopes: subscriptions:write)
- or HTTP bearer
- or HTTP bearer
Path parameters
idstring uuid4 required
The subscription ID.
Request body
Example request
{
"product_id": "d8dd2de1-21b7-4a41-8bc3-ce909c0cfe23"
}Response
Subscription updated.
Subscription required(unresolved $ref)
Changes
- info
added the new optional request property
/
- info
- breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
added to the response body
anyOflist for the response status
- breaking