Product object. Only name is required — every other field is optional and sensible defaults are applied automatically when omitted (for example type defaults to Product, status to Active, and the taxes to the account's default product taxes).type = 3), supply the components in a ProductBundle array. Requires a permission that grants the right to add products. On success the new product ID is returned with HTTP 202.curl --location --globoff 'https://.daftra.com/api2/products' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{"Product":{"name":"Wireless Mouse","product_code":"WM-001","type":1,"unit_price":25.00,"buy_price":15.00,"barcode":"6291041500213","track_stock":1,"initial_stock_level":50,"store_id":1,"categories_id":[12],"tags":"mouse, wireless"}}'{
"result": "successful",
"code": 202,
"id": 101
}