GET
/
common
/
countries
/
{country_iso_code}
/
states
curl --request GET \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/storefront/common/countries/{country_iso_code}/states \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "success": true,
  "content": {
    "states": [
      {
        "name": "<string>",
        "iso_code": "<string>",
        "gst_code": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Access token

Path Parameters

country_iso_code
string
required

country iso code in 2 chars. ex. IN for India

Response

200 - application/json
OK
message
string
success
boolean
content
object