Get Order Address List Interface

API Call Address

{域名地址}/api/order/addresses

Description:{域名地址}Need to replace it with your domain address, such ashttps://en.anqicms.com/api/order/addresses

Calling Method

GET

Request Parameters

None

Return parameters

Field Name Type Description
code integer Error code
message string Error Description
data object[] Result Content

Description of the 'item' field in the data result

Field Name Type Description
id integer Address ID
name string Recipient
last_name string Recipient's Last Name
email string Email
company string company name
phone string Phone Number
province string province
city string City
Country string District
Address Information string Detailed Address
postcode string Postal Code

Request Data Example

None

Return Data Example

{
  "code": 0,
  "data": {
    "id": 1,
    "created_time": 1669212548,
    "updated_time": 1669212548,
    "user_id": 1000,
    "name": "王先生",
    "phone": "13888888888",
    "province": "河南省",
    "city": "郑州市",
    "country": "中原区",
    "address_info": "中原西路233号",
    "postcode": "450000",
    "status": 1
  },
  "msg": null
}

Error Code

Error code Description
0 OK
-1 Error, the reason is indicated in msg
1001 Not logged in
1002 Unauthorized
200 API request OK