Get Category ( 取得分類資訊 ) - ec-yahoo/ntu-hackathon GitHub Wiki
This API allows client to get category information by categoryId.
Table Name
ecstore.category.get_category
Parameters
Keys | Description | Required | Example |
---|---|---|---|
categoryId | category id | true | 2144871583 |
Sample Query
select * from ecstore.category.get_category where categoryId ="2144871583"
Sample Response
{
"query": {
"count": 1,
"created": "2017-07-20T03:59:49Z",
"lang": "zh-TW",
"results": {
"Response": {
"Status": "ok",
"Result": {
"category": {
"categoryId": "2144871583",
"name": "漢神百貨品牌服飾",
"level": 2,
"isLink": 0,
"isLeaf": 0,
"isAdult": 0,
"displayMode": "pic",
"parentCategoryId": "152981801"
}
}
}
}
}
}