Add price options

Adds one or more price options to an existing plan. Each option defines a unit price, billing interval, and optional trial period.

POST

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 add options to.

Request Body

application/json
array

List of plan line options.

string

Short description about the option.

float

Price per unit.

number

The number of days for each billing interval. (e.g. 30 for monthly or 365 for yearly)

object

Custom key-value pairs that can be used for option specific features.

Response Body

application/json
boolean

Indicates that the request was successful.

string

A descriptive message regarding the result.