Products V2

Create Product

Creates a new product in the specified application. Requires products:write scope.

post/v2/products

Request body

project_idstring required

ID of the project to create the product in

application_idstring

ID of the application to create the product in. Defaults to a supported project application.

identifierstring required

Platform-specific product identifier

namestring

Display name of the product

monthly_billing_plan_trial_period_daysnumber

Monthly billing plan trial days

entitlementsstring[]

List of entitlement IDs to grant with this product

metadataobject

Arbitrary key-value metadata to attach to the product

Response

Success

idstring required

Unique identifier for the product

object'product' required

Object type, always product

application_idstring required

ID of the application this product is stored under

project_idstring required

ID of the project this product belongs to

identifierstring required

Platform-specific product identifier

namestring nullable required

Display name of the product, or null

monthly_billing_plan_trial_period_daysnumber nullable required

Monthly billing plan trial days, or null

entitlementsstring[] required

List of entitlement IDs granted by this product

created_atstring required

ISO 8601 timestamp of when the product was created

updated_atstring required

ISO 8601 timestamp of when the product was last updated

metadataobject required

Changes

No recorded changes to this endpoint across all 1 revision of this API.