Get states by country
Country
Get states by country
Retrieve a list of state names for a specific country.
GET
Get states by country
Request
Headers
| Header | Type | Description |
|---|---|---|
x-shop-id | string | Identify the shop context. |
Query parameters
| Parameter | Type | Description |
|---|---|---|
shortName | string | Country short name (e.g., NG, US, GB). Defaults to NG. |
Request examples
Get Nigerian states (default)
Get US states
Get UK states
Successful response
Error response
Authorizations
JWT issued by the Salesive Store API for authenticated shoppers.
Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.
Headers
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.
Query Parameters
Country short name (e.g., NG, US, GB). Defaults to NG if not provided.

