Authorization: Bearer ********************{
"product": {
"code": "PROD12345",
"barcode": "5012345678900",
"product_name": "Stainless Steel Kettle",
"warehouse_code": "TEST1212",
"price": "29.99",
"price_curr": "GBP",
"imco": "imco14",
"storage_area": "shelf",
"length": 10.0,
"width": 10.0,
"height": 30.0,
"sku_model": "KETTLE-X100",
"io_type": "input_output",
"pack_type": "Box"
}
}curl --location --request POST 'https://demo.modaltrans.com/api/v1/products' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"product": {
"code": "PROD12345",
"barcode": "5012345678900",
"product_name": "Stainless Steel Kettle",
"warehouse_code": "TEST1212",
"price": "29.99",
"price_curr": "GBP",
"imco": "imco14",
"storage_area": "shelf",
"length": 10.0,
"width": 10.0,
"height": 30.0,
"sku_model": "KETTLE-X100",
"io_type": "input_output",
"pack_type": "Box"
}
}'[
{
"code": "string",
"barcode": "string",
"product_name": "string",
"country_id": "string",
"gtip_code": "string",
"price": 0,
"price_curr": "string",
"weight_unit": "string",
"imco": "string",
"min_count": 0,
"min_temperature": 0,
"storage_area": "string",
"length": 0,
"width": 0,
"height": 0,
"sku_model": "string",
"io_type": "string",
"status": "string",
"pack_type": "string"
}
]