Developer Documentation
New pick-up address

1.Description

In Address Management in Personal Center on the seller's website, add pick-up address of seller.

2.Scenario

In Address Management in Personal Center on the seller's website, add pick-up address of seller.

 

3.Request Information

URL

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

UAT
Action 
action:ums.address.add

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

codeString50YCode

countryCode

String

100

Y

Country Code


state

String

100

Y

state


cityCode

String

100

Y

City Code


districtCode

String

100

Y

District Code


districtNameString100NDistrict Name

detailCn

String

100

Y

Address  in Chinese


detailEn

String

100

Y

 Address  in English


postCode

String

100

Y

Zip Code


contactPerson

String

100

Y

Contact Person


contactNumber

String

100

Y

Phone Number


email

String

100

N

Email


doorplate

String

100

N

House Number


detail1

String

500

Y

Street 1


detail2

String

500

Y

Street 2



5、Response Parameter



Name

Type

Length

Description

Example






6、Request Example

{

    "action": "ums.address.add", 

    "app_key": "rebecca", 

    "data": {

        "code":"1234",

        "cityCode": "SHENZHEN", 

        "contactNumber": "22222222", 

        "contactPerson": "2", 

        "countryCode": "CN", 

        "detail1": "", 

        "detail2": "", 

        "detailCn": "2222", 

        "detailEn": "22222", 

        "districtCode": "NA", 

        "districtName": "NanShan", 

        "doorplate": "", 

        "email": "", 

        "postCode": "518000", 

        "state": "GUANGDONG"

    }, 

    "format": "json", 

    "platform": "sw", 

    "sign_method": "md5", 

    "timestamp": "2015-06-15 18:30:50", 

    "version": "1.0", 

    "sign": "050FAE231C176DA51E892696A9F417A8", 

    "language": "zh_CN"

}



Response Example


{

   "code": "0",

   "msg": "OPERATION SUCCESS"

}

Response Description

Success response: Success message

Error response:Error code, Error message