Create Product
Create a product.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Schema to create a product.
The name of the product.
3
The recurring interval of the product. If None
, the product is a one-time purchase.
month
, year
List of available prices for this product. Currently, only a single price is supported.
Key-value object allowing you to store additional information.
The key must be a string with a maximum length of 40 characters. The value must be either:
- A string with a maximum length of 500 characters
- An integer
- A boolean
You can store up to 50 key-value pairs.
The description of the product.
List of file IDs. Each one must be on the same organization as the product, of type product_media
and correctly uploaded.
List of custom fields to attach.
The ID of the organization owning the product. Required unless you use an organization token.
Response
A product.
Creation timestamp of the object.
Last modification timestamp of the object.
The ID of the product.
The name of the product.
The description of the product.
The recurring interval of the product. If None
, the product is a one-time purchase.
month
, year
Whether the product is a subscription.
Whether the product is archived and no longer available.
The ID of the organization owning the product.
List of prices for this product.
List of benefits granted by the product.
List of medias associated to the product.
List of custom fields attached to the product.
Was this page helpful?