List locations
GET/openapi/2026-01/locations
List all locations for shipping, inventory, and order fulfillment.
Request
Query Parameters
Cursor of the next page
Number of records per page
Page number (1-based). Mutually exclusive with cursor
Default to 0; 0: All, 1: Search the warehouse that is enabled, 2: Search the warehouse that is not enabled
Sort field. Defaults to listing the default location first. Supports "priority"
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
- ]
error code
error message
data object
locations object[]
List of locations
Location ID
Whether active
Default
Country name
Country code (e.g. CN)
Province or state
Province code
City
Area or region
Address
Primary address line
Name
Phone number
Postal or ZIP code
Company name
Latitude coordinate
Longitude coordinate
Creation timestamp, in ISO-8601 format
Last update timestamp, in ISO-8601 format
Total
The cursor for the next page of results
Whether there are more records
{
"code": "string",
"message": "string",
"data": {
"locations": [
{
"id": 0,
"active": true,
"default": true,
"country": "string",
"country_code": "string",
"province": "string",
"province_code": "string",
"city": "string",
"area": "string",
"address": "string",
"address1": "string",
"name": "string",
"phone": "string",
"zip": "string",
"company": "string",
"latitude": "string",
"longitude": "string",
"created_at": "string",
"updated_at": "string"
}
],
"total": 0,
"cursor": "string",
"has_more": true
}
}