POST
/
v1
/
products

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Product name.

price_configurations
object[]
required
type
enum<string>
required
Available options:
flat_fee
accounting
object

Mapping invoicing entity ID/accounting settings.

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.

description
string

Product description.

description_display_interval_dates
boolean

Indicates if the dates of the interval should be automatically added in the product description on the invoices.

is_available_on_demand
boolean
default:
true
is_available_on_subscription
boolean
default:
true
public_description
string

Public description of the product.

translations
object | null

Product name and description translations.

Response

201 - application/json
accounting
object
required

Mapping invoicing entity ID/accounting settings.

custom_properties
object
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.

description
string | null
required

Product description.

description_display_interval_dates
boolean
required

Indicates if the dates of the interval should be automatically added in the product description on the invoices.

id
string
required

Product ID.

is_available_on_demand
boolean
required

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

is_available_on_subscription
boolean
required

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

name
string
required

Product name.

price_configurations
object[]
required
properties
object | null
required

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

public_description
string | null
required

Public description of the product.

translations
object | null
required

Product name and description translations.

type
enum<string>
required
Available options:
flat_fee