Skip to main content
POST
cURL

Authorizations

X-API-Key
string
header
required

Customer API key created in the Sendora dashboard.

Headers

X-API-Key
string | null
Authorization
string | null

Body

application/json
name
string
required

Name returned by the Sendora API.

Required string length: 1 - 120
billing_interval
enum<string>
default:month

Billing interval returned by the Sendora API.

Available options:
month,
year
currency
string
default:usd

Currency returned by the Sendora API.

Required string length: 3
description
string | null

Description returned by the Sendora API.

Maximum string length: 500
features
string[]

Features returned by the Sendora API.

included_credit_cents
integer
default:0

Included credit cents returned by the Sendora API.

Required range: 0 <= x <= 10000000
is_active
boolean
default:true

Is active returned by the Sendora API.

price_cents
integer
default:0

Price cents returned by the Sendora API.

Required range: 0 <= x <= 10000000
sendora_wholesale_cents
integer
default:0

Sendora wholesale cents returned by the Sendora API.

Required range: 0 <= x <= 10000000
sort_order
integer
default:0

Sort order returned by the Sendora API.

Required range: 0 <= x <= 9999
trial_days
integer
default:0

Trial days returned by the Sendora API.

Required range: 0 <= x <= 365

Response

Successful Response

id
string
required

The pricing plan's id. Pass it to any endpoint that takes plan_id.

name
string
required

Name returned by the Sendora API.

Required string length: 1 - 120
billing_interval
enum<string>
default:month

Billing interval returned by the Sendora API.

Available options:
month,
year
created_at
string | null

Created at returned by the Sendora API.

currency
string
default:usd

Currency returned by the Sendora API.

Required string length: 3
description
string | null

Description returned by the Sendora API.

Maximum string length: 500
features
string[]

Features returned by the Sendora API.

included_credit_cents
integer
default:0

Included credit cents returned by the Sendora API.

Required range: 0 <= x <= 10000000
is_active
boolean
default:true

Is active returned by the Sendora API.

price_cents
integer
default:0

Price cents returned by the Sendora API.

Required range: 0 <= x <= 10000000
sendora_wholesale_cents
integer
default:0

Sendora wholesale cents returned by the Sendora API.

Required range: 0 <= x <= 10000000
sort_order
integer
default:0

Sort order returned by the Sendora API.

Required range: 0 <= x <= 9999
trial_days
integer
default:0

Trial days returned by the Sendora API.

Required range: 0 <= x <= 365
updated_at
string | null

Updated at returned by the Sendora API.