Create plan
Plans
Create plan
POST
Create plan
Authorizations
Use header Authorization: Token <api_token>.
API tokens are obtained from the Piriod dashboard.
Headers
Workspace (account) identifier. Required for every request.
Whether to operate against test-mode data. Defaults to false.
Body
application/json
Product ID.
Maximum string length:
56Maximum string length:
200Frequency ID (e.g. monthly).
ISO currency code.
Maximum string length:
32Available options:
licensed, metered Available options:
last_record, max, sum Pricing mode for tiered plans. unit and range are deprecated
aliases of volume and package respectively.
Available options:
package, volume, graduated, package_overage, unit, range Maximum string length:
4Available options:
active, archived Response
Plan created.
Product ID.
Maximum string length:
56Maximum string length:
200Frequency ID (e.g. monthly).
ISO currency code.
Maximum string length:
32Available options:
licensed, metered Available options:
last_record, max, sum Pricing mode for tiered plans. unit and range are deprecated
aliases of volume and package respectively.
Available options:
package, volume, graduated, package_overage, unit, range Maximum string length:
4Available options:
active, archived 