Developer Documentation
Update Product API

Description

This interface is used for seller or third-party edit existing product information.

Scenario

This interface is used for seller or third-party edit existing product information.

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


Product Country


Yes


ProductCode

Product code defined by seller when creating product, can not be modified


Yes

40

ChineseName

Can be modified


Required when modify, otherwise unchanged

255

EnglishName



Required when modify, otherwise unchanged

255

CategoryOne

Can be modified to existing first level category.


Required when modify, otherwise unchanged

22

CategoryTwo

Can be modified to existing second level category.


When first level category changed, second level category must be changed.

22

CategoryThree

Can be modified to existing third level category.


When first or second level category changed, third level category must be changed.

22

RegisteredWeight

Can be modified


Required when modify, otherwise unchanged

22

RegisteredLength

Can be modified


Required when modify, otherwise unchanged

10

RegisteredWidth

Can be modified


Required when modify, otherwise unchanged

10

registeredHeight

Can be modified


Required when modify, otherwise unchanged

10

Branded

Y|N



127

BrandedName

Required and can be modified when branded is Y.


Required and can be modified when branded is Y. otherise can not be modified.


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

Can be modified


No

120

Remark

Can be modified


No


Battery

Y|N


Y|N, Required

1

FDACertID

Optional when create, can be modified


No

120

FCCCertID

Optional when create, can be modified


No

120

DOTCertID

Optional when create, can be modified


No

120

OtherCertID

Optional when create, can be modified


No

120

FCCControl

Y|N,Optional


No

120

FDAControl

Y|N,Optional


No

120

 


Request Example

 {

    "action": "updateProductInfomation",

    "app_key": "rebecca",

    "data": {

        "DOTCertID": "DOTCertIDKKK",

        "FCCCertID": "FCCCertIDKKK",

        "FCCControl": "Y",

        "FDACertID": "FDACertIDKKK",

        "FDAControl": "Y",

        "battery": "N",

        "brand": "N",

        "brandedName": "KK11",

        "categoryOne": "Women clothes",

        "categoryThree": "CL3384-1# US4",

        "categoryTwo": "Skirts",

        "chineseName": "SkirtsKKK001",

        "englishName":"abc",

        "displayPageUrl": "http://www.baidu.com222",

        "model": "m_KK11",

        "otherCertID": "otherCertIDKKK111",

        "productCode": "EAKKK004",

        "registeredHeight": "1013",

        "registeredLength": "1014",

        "registeredWeight": "10142",

        "registeredWidth": "1014",

        "remark": "1111",

        "specification": "",

        "state": "AU"

    },

    "sign": "00000000000000000000000000000000"

}

Response Example

{

   "code": 0,

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

   "msg": "SUCCESS"

}

Response Description

Success response:Query Success, Product Code

Error response:Query Failed