Developer Documentation
Query Product Category API

Description

This interface is used for seller or third-party query product categories.

Scenario

Seller or third-party can use this interface query three level of categories for product.

Request Information

URL

 http://api.winit.com.cn/ADInterface/api

Authentication

Token,md5

Format

json

protocol

http

Rate Limitation

Default 300 requests per minute, can request increase on needs

Sandbox URL

http://sandbox.winit.com.cn:8081/ADInterface/api


Request Parameter

Name

Description

Type

Required

Limitation

CategoryID

Category ID,Use IT can query related category and child level categories, Can get all categories when use ID=0.


Yes


 

Request Example

{

    "action": "getProductCategoryInfo",

    "app_key": "rebecca",

    "data": {

         "categoryID": 1000293

    },

    "sign": "00000000000000000000000000000000"

}

Response Example

{

    "action": "getProductCategoryInfo",

    "app_key": "rebecca",

    "data": {

         "categoryID": 1000293

    },

    "sign": "00000000000000000000000000000000"

}

Response Parameter

Success response:Query Success.

Name

Description

CategoryOne

First Level Category Name

CategoryID

Category ID

CategoryTwo

Second Level Category Name

CategoryThree

Third Level Category Name

 

Error response:Query Failed