Skip to main content

Create a product

Create a product

Request Body REQUIRED
name string REQUIRED
description string
unit_price string REQUIRED
category integer REQUIRED

Category id

vat integer REQUIRED

vat id

has_serial_number boolean REQUIRED
enabled boolean REQUIRED
brand integer REQUIRED

brand id

unit integer REQUIRED

unit id

taxes object[]
id integer
name string
type integer
amount float
label string
tax_sign boolean
weight integer
tax_group integer
is_vat_tax boolean
is_product_tax_only boolean
enabled boolean
belong_vat boolean
bar_codes object[]
id integer
code string
allow_empty_stock boolean
internal_ref string
manufacturer_ref string
model string REQUIRED

Possible values: [materiel, service]

reference string
Responses
201

Returns the created product

Schema OPTIONAL
image object OPTIONAL
id string OPTIONAL
file_path The real path to the picture's file (url). OPTIONAL
web_path string OPTIONAL
thumb75 string OPTIONAL
id integer OPTIONAL
name string
description string OPTIONAL
unit_price string
category (circular) OPTIONAL
short_description string OPTIONAL
long_description string OPTIONAL
stock_value_price string OPTIONAL
last_value_price string OPTIONAL
vat (circular) OPTIONAL
has_serial_number boolean OPTIONAL
enabled boolean OPTIONAL
brand object OPTIONAL
unit object OPTIONAL
id integer OPTIONAL
code string OPTIONAL
name string OPTIONAL
product_price_list object[] OPTIONAL
id integer OPTIONAL
price_list object OPTIONAL
price string OPTIONAL
taxes object[] OPTIONAL
id integer OPTIONAL
name string OPTIONAL
type integer OPTIONAL
amount float OPTIONAL
label string OPTIONAL
tax_sign boolean OPTIONAL
weight integer OPTIONAL
tax_group integer OPTIONAL
is_vat_tax boolean OPTIONAL
is_product_tax_only boolean OPTIONAL
enabled boolean OPTIONAL
belong_vat boolean OPTIONAL
bar_codes object[] OPTIONAL
id integer OPTIONAL
code string OPTIONAL
allow_empty_stock boolean OPTIONAL
internal_ref string OPTIONAL
manufacturer_ref string OPTIONAL
model string OPTIONAL
reference string OPTIONAL
400

Bad Request

Schema OPTIONAL
object