Skip to main content
POST
Creates a new product with pricing plans and feature configurations.

Request Body

string
required
The ID of the product. Used to identify the product in other API calls like checkout or update product.Must match the pattern: ^[a-zA-Z0-9_-]+$
string
required
The name of the product.
string
The description of the product.
boolean
default:false
Whether the product is an add-on. Add-on products can be attached multiple times and don’t go through upgrade/downgrade flows.
boolean
default:false
Whether the product is the default product. Default products are enabled by default for new customers.
string
Product group which this product belongs to. Products within a group have upgrade/downgrade logic when the customer moves between them.
array
Array of product items that define the product’s features and pricing.
object
Free trial configuration for this product.

Response

string
The ID of the product you set when creating the product.
string
The name of the product.
string
Product group which this product belongs to.
string
The environment of the product (sandbox or production).
boolean
Whether the product is an add-on and can be purchased alongside other products.
boolean
Whether the product is the default product.
boolean
Whether this product has been archived and is no longer available.
number
The current version of the product.
number
The timestamp of when the product was created in milliseconds since epoch.
array
Array of product items that define the product’s features and pricing.
object
Free trial configuration for this product, if available.
string
ID of the base variant this product is derived from.
enum
Scenario for when this product is used in attach flows.
  • new
  • upgrade
  • downgrade
  • crossgrade
object
Additional product properties.