Create a new pricing plan under a product.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Overview
Create a new pricing plan under a product. Plans define the billing amount, interval, currency, and subscription behavior.
Membership plans
Set type to membership and provide member_seat_capacity to create a membership plan with a seat limit.
Image upload
The image field accepts a file upload (not a URL). Use multipart/form-data content type when uploading an image.
Renewal trigger
renewal_trigger decides what closes a billing cycle.
| Value | Cycle ends |
|---|---|
date (default) | On the subscription's renewal date, as it always has. |
shipments_exhausted | As soon as every shipment the cycle paid for has been delivered, whatever the calendar says. |
shipments_exhausted requires recognized_revenue_type to be shipments and a shipments_per_interval to be set; the request is rejected otherwise.
Subscriptions on a shipments_exhausted plan behave differently in three ways:
- Their
renews_atandexpires_atmove to the moment the last issue was delivered once the cycle's invoice runs out of shipments. Those dates are derived, so they cannot be set directly. - They cannot be renewed ahead of time. Renew subscription returns
422for them, because renewing early would extend the cycle by a date the plan does not bill on. Adjust the subscription's remaining shipments instead. - They never generate an advance invoice, since there is no future period to invoice for.
Revenue is recognized against the invoice that paid for each shipment rather than against the calendar period, so a fulfilment approved after the cycle closed is still recognized.

