Developer Documentation
Create Product API

Description

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

Scenario

This interface is used for seller or third-party create product and save to product list.

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

ProductCode

Product code, can not be modified.


Yes

40

specification

Product Specification


Optional


ChineseName

Chinese Name


Yes

255

EnglishName

English Name


Yes

255

CategoryOne

First Level Catagory


Yes

22

CategoryTwo

Second Level Catagory


No

22

CategoryThree

Third Level Catagory


Optional, only works when second level catagory have value

22

RegisteredWeight

Registered Weight


Yes

22

FixedVolumeWeight

Fixed Volume Weight


Y|NRequired(Can not be modified, default is Y)

1

RegisteredLength

Registered Length


Yes

10

RegisteredWidth

Registered Width


Required when modify, otherwise unchanged

10

RegisteredHeight

Registered Height


Required when modify, otherwise unchanged

10

Branded

Whether Have Brand


Y|NRequired

127

BrandedName

Required and can be modified when branded is Y


Required and can be modified when branded is Y


Model

Required and can be modified when branded is Y. can be NON if without model


Required and can be modified when branded is Y. otherise can not be modified. can be NON if without model

127

DisplayPageUrl

Url On Ebay


Yes

120

Remark

Remark


No


Exportcountry

Export Country


Yes

22

InporCountry

Inport Country


Yes

22

InportDeclaredvalue

Import Declared Value


Yes

14

ExportDeclaredvalue

Export Declared Value


Yes

14

Battery

Y|N


Y|NRequired

1

FDACertID

FDA Certification ID


No

40

FCCCertID

FCC Certification ID


No

40

DOTCertID

DOT Certification ID


No

40

OtherCertID

Other Certification ID


No



Request Example

 {

    "action": "registerProduct",

    "app_key": "rebecca",

    "data": {

       "productList": [{

           "productCode": "EAKKK004",

           "chineseName": "PowerBuyerDEF456",

           "englishName": "34BayItemI34245",

           "categoryOne": "1001",

           "categoryTwo": "1SDDW",

           "categoryThree": "2",

           "registeredWeight": 2,

           "fixedVolumeWeight": 'Y',

           "registeredLength": 4,

           "registeredWidth": 4,

           "registeredHeight": 4,

           "branded": "Y",

           "brandedName": "HHG",

           "model": "HG",

           "displayPageUrl": "httpdsfhsdf",

           "remark": "e",

           "exportCountry": "CN",

           "inporCountry": "AU",

           "inportDeclaredvalue": 33,

           "exportDeclaredvalue": 34,

           "battery": "Y",

           "FDACertID": "DF",

           "FCCCertID": "DS",

           "DOTCertID": "DF",

           "otherCertID": "DS"

       },

       {

           "productCode": "EAKKK005",

           "chineseName": "PowerBuyerDEF456",

           "englishName": "34BayItemI34245",

           "categoryOne": "1001",

           "categoryTwo": "1SDDW",

           "categoryThree": "2",

           "registeredWeight": 2,

           "fixedVolumeWeight": 'Y',

           "registeredLength": 4,

           "registeredWidth": 4,

           "registeredHeight": 4,

           "branded": "Y",

           "brandedName": "HHG",

           "model": "HG",

           "displayPageUrl": "httpdsfhsdf",

           "remark": "e",

           "exportCountry": "CN",

           "inporCountry": "AU",

           "inportDeclaredvalue": 33,

           "exportDeclaredvalue": 34,

           "battery": "Y",

           "FDACertID": "DF",

           "FCCCertID": "DS",

           "DOTCertID": "DF",

           "otherCertID": "DS"

       }]

    },

    "platform": "IBAY365",

    "sign": "00000000000000000000000000000000"

}

 

Response Example

 

{

   "code": 0,

   "data": {"productCode": "EAKKK004"},

   "msg": "SUCCESS"

}

Response Description

Success response:Create Product Success.

Error response:Create Product Failed.