Skip to main content
GET
/
public
/
common
/
countries
/
{country_code}
/
provinces
List Provinces
curl --request GET \
  --url https://apigw.ipxo.com/ecommerce/public/common/countries/{country_code}/provinces \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "country_code": "LT",
      "name": "Wyoming",
      "code": "yP1mL"
    },
    {
      "country_code": "LT",
      "name": "South Carolina",
      "code": "BMyMb"
    }
  ],
  "meta": {
    "current_page": 1,
    "total": 2,
    "per_page": 10
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

country_code
string
required

Response

200 - application/json
data
object[]
Example:
[
{
"country_code": "LT",
"name": "Wyoming",
"code": "yP1mL"
},
{
"country_code": "LT",
"name": "South Carolina",
"code": "BMyMb"
}
]
meta
object