{
"mallSpuParam": {
"spuId": "string",
"mallSpuOrder": 0,
"categoryId": "string",
"customerId": 0,
"specifications": "string",
"specTemplate": "string",
"spuState": "string",
"title": "string",
"subTitle": "string",
"dispatchType": "string",
"dispatchPrice": 0,
"virtualSellCount": 0,
"actualSellCount": 0,
"enable": true,
"del": true,
"mallImageRelSpus": [
{
"factorOrderId": 0,
"factorCustomerId": 0,
"factorTag": "string",
"factorMonth": 0,
"id": "string",
"relType": "string",
"relId": "string",
"imgType": "string",
"imgUri": "string",
"imgSort": 0,
"createTime": "string",
"updateTime": "string"
}
]
},
"mallSpuServiceRelLists": [
{
"spuId": "string",
"detail": "string",
"mscfgId": 0,
"name": "string",
"type": "string",
"description": "string",
"label": "string",
"url": "string",
"sort": 0
}
],
"mallSkuParamLists": [
{
"id": "string",
"spuId": "string",
"title": "string",
"sellPrice": 0,
"pointSellPrice": 0,
"originalPrice": 0,
"costPrice": 0,
"indexes": "string",
"ownSpec": "string",
"stockQuantity": 0,
"mallImageRelSkus": [
{
"factorOrderId": 0,
"factorCustomerId": 0,
"factorTag": "string",
"factorMonth": 0,
"id": "string",
"relType": "string",
"relId": "string",
"imgType": "string",
"imgUri": "string",
"imgSort": 0,
"createTime": "string",
"updateTime": "string"
}
]
}
],
"mallSpuLimitAddressInfo": [
{
"address": "string",
"addressDetail": "string"
}
]
}
curl --location --request POST '/portal/v2/mall/updateMallSpu' \
--header 'token: eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ7XCJpc3NcIjpcIkJXX0lOTkVSX0dBVEVXQVlcIixcImlhdFwiOjE3NTIwMzE4NzgsXCJwbGF0Zm9ybVwiOlwiU0dcIixcImp0aVwiOlwiU0dcIn0iLCJpc3MiOiJCV19JTk5FUl9HQVRFV0FZIiwiZXhwIjoxNzUzMDMxODc4LCJpYXQiOjE3NTIwMzE4NzgsInBsYXRmb3JtIjoiU0ciLCJqdGkiOiJTRyJ9.kHFzS4gQJzoq85Ar8oqVbGdmzP3eoHZfKficICpsqNagXAc9s7S3M5i2SobiWP_dLV7b-3ya8n97YWmoeX1xC9CSt2nr7flexFOCJocoubU36EWg3AKu7KT43aDgw5OP--yygGctEhuK8Zl8NLuPXQyEupFAcVCn37vurf5rT88' \
--header 'customer: 428166320547168262' \
--header 'user: ljing' \
--header 'Content-Type: application/json' \
--data-raw '{
"mallSpuParam": {
"spuId": "string",
"mallSpuOrder": 0,
"categoryId": "string",
"customerId": 0,
"specifications": "string",
"specTemplate": "string",
"spuState": "string",
"title": "string",
"subTitle": "string",
"dispatchType": "string",
"dispatchPrice": 0,
"virtualSellCount": 0,
"actualSellCount": 0,
"enable": true,
"del": true,
"mallImageRelSpus": [
{
"factorOrderId": 0,
"factorCustomerId": 0,
"factorTag": "string",
"factorMonth": 0,
"id": "string",
"relType": "string",
"relId": "string",
"imgType": "string",
"imgUri": "string",
"imgSort": 0,
"createTime": "string",
"updateTime": "string"
}
]
},
"mallSpuServiceRelLists": [
{
"spuId": "string",
"detail": "string",
"mscfgId": 0,
"name": "string",
"type": "string",
"description": "string",
"label": "string",
"url": "string",
"sort": 0
}
],
"mallSkuParamLists": [
{
"id": "string",
"spuId": "string",
"title": "string",
"sellPrice": 0,
"pointSellPrice": 0,
"originalPrice": 0,
"costPrice": 0,
"indexes": "string",
"ownSpec": "string",
"stockQuantity": 0,
"mallImageRelSkus": [
{
"factorOrderId": 0,
"factorCustomerId": 0,
"factorTag": "string",
"factorMonth": 0,
"id": "string",
"relType": "string",
"relId": "string",
"imgType": "string",
"imgUri": "string",
"imgSort": 0,
"createTime": "string",
"updateTime": "string"
}
]
}
],
"mallSpuLimitAddressInfo": [
{
"address": "string",
"addressDetail": "string"
}
]
}'
{
"error": {
"code": "",
"message": "",
"detail": ""
},
"reqId": "",
"reqCustomerId": 0,
"data": false
}