Authorization: ********************curl --location '/api/v1/core/products' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"productCode": "string",
"productName": "string",
"typeId": "Goods",
"unitName": "string",
"price": 0,
"vatTypeId": "VAT",
"description": "string"
}'{
"success": false,
"data": null,
"error": {
"code": "VALIDATION_FAILED",
"message": "string",
"fields": [
{
"field": "string",
"message": "string"
}
]
}
}