Developer Documentation
Get Item Barcode API

Description

This interface is used for seller or third-party get item barcode.

Scenario

This interface is used for seller or third-party get item barcode.

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

State

Outbound Country


Optional

Max 25 characters

ProductCode

Product Code, Required when registered. unique value, can used to filter product information at certain warehouse.


Optional, default is top 1000 reversed time base sorting records when using product code to query, and also can combine with page informatoin to grab certain records.

No limitations

Specification

Product Specification


Optional,required when need have separate product specification at product creating.


ItemNum

Quantity


Optional


 

Request Example

 {

    "action": "printItemBarcode",

    "app_key": "rebecca",

    "data": {

             "productCode": "HDMI 2M Black",

             "specification": "Black cable",

             "itemNum": "1"

    },

    "platform": "IBAY365",

    "sign": "00000000000000000000000000000000"

}

 

Response Example

 

{

   "code": 0,

   "data": [   {

      "itemBarcode": "JVBERi0xLjQKJeLjz9MKNCAwIG9iago8PC9UeXBlL1hPYmplY3QvQ29sb3JTcGFjZVsvSW5kZXhlZC9EZXZpY2VSR0IgMjU1KAAAAIAAAACAAICAAAAAgIAAgACAgICAgPwEBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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IDAgUi9JRCBbPGUxYzc2ZGQ2M2VjYzcxMTRkODgxY2UxODNhNjUwMjhhPjxjZDE4NzdlMDQxYmJiMjI0N2MzZThhNGI4NGZjYTM0Yj5dL0luZm8gMTEgMCBSL1NpemUgMTI+PgpzdGFydHhyZWYKMzI4NwolJUVPRgo=",

      "itemCode": "S010000000003012479"

   }],

   "msg": "SUCCESS"

}

Response Parameter

 

Name

Description

Itemcode


ItemBarcode


Response Description

Success response:Query Success.

Error response:Query Failed