Developer Documentation
Query WINIT Product

1.Description

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

2.Scenario

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

3.Request Information

URL

http://openapi.winit.com.cn/openapi/service

UAT
Action 
action:winitProduct.list

Authentication

Token,md5

Format

json

Protocol

http,post

Rate Limitation

Default 300 requests per minute, can request increase on needs



4.Request Parameter

Name

Type

Length

Required

Description

Example

warehouseIDLong
N

5.Response Parameter

Name

Type

Length

Description

Example

productCodeString10Winit Product Code
productNameString60Winit Product Name 

 

6.Request Example

{

    "action": "winitProduct.list", 

    "app_key": "rebecca", 

    "data": {

        "": ""

    }, 

    "format": "json", 

    "language": "zh_CN", 

    "platform": "sw", 

    "sign": "A7161FB8F50C4AB632BA4EDFE9F0C5EC", 

    "sign_method": "md5", 

    "timestamp": "2015-06-16 03:04:43", 

    "version": "1.0"

}


Response Example

{

    "code": "0", 

    "data": [

        {

            "productCode": "ChinaPostTracked", 

            "productName": "ChinaPostTracked"

        }, 

        {

            "productCode": "42300", 

            "productName": "hunan"

        }, 

        {

            "productCode": "CNPUnTracked", 

            "productName": "CNPUnTracked"

        }, 

        {

            "productCode": "PPTestProduct", 

            "productName": "PPTestProduct"

        }, 

        {

            "productCode": "YWPickup", 

            "productName": "YWPickup(winit)"

        }

    ], 

    "msg": "OPERATION SUCCESS"

}


Response Description

Success response:Return Product Code, Product Name.

Error response:Error code, Error message