{
"name": "xxxxxxxx",
"description": "xxxxxxxxxxxxx",
"product_type": "xxxxxx",
"image_url": "http://dummyimage.com/400x400",
"additional_info": "{}",
"remark": "in irure fugiat",
"product_model": "xxxxxxxx",
"product_key": "",
"device_config_id":"a54d83e7-2858-8331-3783-f936c4198a66"
}
curl --location --request POST 'http://127.0.0.1:9999/api/v1/product' \
--header 'x-token: {{x-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "xxxxxxxx",
"description": "xxxxxxxxxxxxx",
"product_type": "xxxxxx",
"image_url": "http://dummyimage.com/400x400",
"additional_info": "{}",
"remark": "in irure fugiat",
"product_model": "xxxxxxxx",
"product_key": "",
"device_config_id":"a54d83e7-2858-8331-3783-f936c4198a66"
}'
{"code":200,"message":"Create product successfully","data":{"id":"bfc5806a-e5f2-2f5e-d081-19c3d84f389e","name":"xxxxxxxx","description":"xxxxxxxxxxxxx","product_type":"xxxxxx","product_key":"bfc5806a","product_model":"xxxxxxxx","image_url":"http://dummyimage.com/400x400","created_at":"2024-03-05T15:10:37.1315434+08:00","remark":"in irure fugiat","additional_info":"{}","tenant_id":"2f4306df","device_config_id":"a54d83e7-2858-8331-3783-f936c4198a66"}}