Toggle a price option

Toggles a price option between active and inactive. Inactive options are hidden from new subscriptions but do not affect existing subscribers.

PATCH

Headers

string

The Bearer token for authentication.

string

The user agent of the request. Must contain at least two identifiers separated by a space.

string

The content type of the request.

Parameters

string

The ID of the plan to toggle the option on.

string

The ID of the option to toggle.

Response Body

application/json
boolean

Indicates that the request was successful.

string

A descriptive message regarding the result.