Supports listing and delisting commodities in bulk.
POST: /v1.0/cloud/ecm/store/admin/api/commodity/publish
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| mall_code | String | body | true | The code of a specified mall. |
| site_code | String | body | true | The code of a specified site. |
| publish | Boolean | body | false | Whether to list a specified commodity. Valid values:
|
| commodity_codes | List | body | true | The list of commodity code. |
| Parameter name | Type | Description |
|---|---|---|
| result | Boolean | The returned result. |
POST: /v1.0/cloud/ecm/store/admin/api/commodity/publish
{
"mall_code": "8h4tiureddm***",
"site_code": "US",
"publish": true,
"commodity_codes": [
"CMfq6livpsr***",
"CMfq6lph231***",
"CMfq6lreq3o***"
]
}
{
"tid": "b9664db2706d11f19897b6c6a57637aa",
"result": true,
"t": 1782375199029,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback