Last Updated on : 2024-01-12 02:42:19download
Based on the mall code and site code, get the commodity categories available in the frontend.
POST: /v1.0/cloud/ecm/commodity/showcases
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| mall_code | String | body | true | The code of the specified mall. |
| site_code | String | body | true | The code of the specified site. |
| lang | String | body | false | The language. |
| Parameter name | Type | Description |
|---|---|---|
| result | ShowcaseTreeOpenApiVO | The returned result. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| code | String | The code of the specified category. |
| name | String | The name of the specified category. |
| level | Integer | The level of the specified category. |
| children | List | The sub-category. |
POST: /v1.0/cloud/ecm/commodity/showcases
{
"mall_code": "8h4tiureddm***",
"site_code": "CN",
"lang": "EN"
}
{
"result": [
{
"code": "Cbgrc6mvk***",
"level": 1,
"children": [
],
"name": "Electrical"
}
],
"t": 1681381201000,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback