POST
/
v1
/
products

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
type
enum<string>
required

Usage of one_off is deprecated, please use flat_fee.

Available options:
flat_fee,
one_off
name
string
required
description
string | null
public_description
string | null
is_available_on_demand
boolean
default: true
is_available_on_subscription
boolean
default: true
is_available_at_checkout
boolean
deprecated

Deprecated field, please use is_available_on_subscription.

price_configurations
object[]
required
custom_properties
object

A list of key value with the ID or the name of the custom property as the key and the custom property value as value.

translations
object | null

Product name and description translations.

Response

201 - application/json
id
string
required

Product ID.

name
string
required

Product name.

description
string | null
required

Product description.

public_description
string | null
required

Public description of the product.

type
enum<string>
required
Available options:
flat_fee
properties
object | null
required

Key/value pairs to store any information you find useful.

translations
object | null
required

Product name and description translations.

custom_properties
object | null
required

A list of key value with the ID or the name of the custom property as the key and the custom property value as value.

is_available_on_subscription
boolean
required

Enable the product to be added as part of a subscription.

is_available_on_demand
boolean
required

Enable the product to be billed at any time as a one-time payment.

price_configurations
object[]
required