extensions / Commerce extension
GET
/__runtime/checkout/locations/statesList States
Lists the states or regions for a country used in storefront checkout address selection.
GET
Authentication
- Requirement
- Not specified
- Credential type
- Not specified
- Scopes
- Not specified
Permissions
- No authentication required; publicly accessible storefront location data.
Headers
Path Parameters
Query Parameters
| Name | Required | Type | Details |
|---|---|---|---|
country | No | string | Description: Text value. |
state | No | string | Description: Text value. |
city | No | string | Description: Text value. |
Request Body
Response Body
Example 200 response
json
{
"states": []
}Errors
400 bad_request404 extension_disabledAvailability
- Available in
- v0.1.0
- Available since
- v0.1.0
- Implementation
- Available
- Deprecation
- Not specified
- Rate limits
- Not specified

