Get country info
Retrieve detailed information about a specific country including states/provinces and address locale.
AuthorizationBasic <token>
WordPress Application Password authentication. Generate one at wp-admin > Users > Application Passwords. Use as Basic Auth with username:application_password (base64-encoded).
In: header
Query Parameters
country_code*string
ISO 3166-1 alpha-2 country code
timezone?string
Response Body
application/json
application/json
curl -X GET "https://your-site.com/wp-json/fluent-cart/v2/address-info/get-country-info?country_code=string"{}{
"code": "rest_forbidden",
"message": "Sorry, you are not allowed to do that.",
"data": {
"status": 401
}
}