{
"id": "string",
"type": 0,
"code": "string",
"productType": 0,
"image": "string",
"flatPattern": "string",
"sliderImage": "string",
"name": "string",
"intro": "string",
"keyword": "string",
"brandId": "string",
"categoryId": "string",
"weight": 0,
"tempId": 0,
"sort": 0,
"attr": [
{
"id": "string",
"productCategoryProperty": "string",
"attrValues": "string"
}
],
"attrValue": [
{
"id": "string",
"stock": 0,
"price": 0,
"image": "string",
"weight": 1,
"volume": 1,
"attrValue": "string",
"isDefault": true
}
],
"productNutritionList": [
{
"name": "string",
"unit": "string",
"value": 0
}
],
"productRecipeList": [
{
"name": "string",
"quantity": 0,
"unit": "string"
}
],
"content": "string",
"isAutoUp": false,
"isAutoSubmitAudit": false,
"deliveryMethod": "string",
"refundSwitch": true,
"merId": "string",
"spec": "string"
}curl --location --request POST '/api/admin/merchant/product/save' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"type": 0,
"code": "string",
"productType": 0,
"image": "string",
"flatPattern": "string",
"sliderImage": "string",
"name": "string",
"intro": "string",
"keyword": "string",
"brandId": "string",
"categoryId": "string",
"weight": 0,
"tempId": 0,
"sort": 0,
"attr": [
{
"id": "string",
"productCategoryProperty": "string",
"attrValues": "string"
}
],
"attrValue": [
{
"id": "string",
"stock": 0,
"price": 0,
"image": "string",
"weight": 1,
"volume": 1,
"attrValue": "string",
"isDefault": true
}
],
"productNutritionList": [
{
"name": "string",
"unit": "string",
"value": 0
}
],
"productRecipeList": [
{
"name": "string",
"quantity": 0,
"unit": "string"
}
],
"content": "string",
"isAutoUp": false,
"isAutoSubmitAudit": false,
"deliveryMethod": "string",
"refundSwitch": true,
"merId": "string",
"spec": "string"
}'{
"code": 0,
"msg": "",
"data": ""
}