Version: 202601
Get default location
GET/openapi/2026-01/locations/default
Get default location.
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
codestring
error code
messagestring
error message
data object
location object
Location
iduint64
Location ID
activeboolean
Whether active
defaultboolean
Default
countrystring
Country name
country_codestring
Country code (e.g. CN)
provincestring
Province or state
province_codestring
Province code
citystring
City
areastring
Area or region
addressstring
Address
address1string
Primary address line
namestring
Name
phonestring
Phone number
zipstring
Postal or ZIP code
companystring
Company name
latitudestring
Latitude coordinate
longitudestring
Longitude coordinate
created_atstring
Creation timestamp, in ISO-8601 format
updated_atstring
Last update timestamp, in ISO-8601 format
{
"code": "string",
"message": "string",
"data": {
"location": {
"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"
}
}
}