Site
Static configuration and metadata endpoints
Returns country, currency, and phone-formatting information for the storefront.
Business Logic:
Active currency resolved via session (falls back to default)
Country derived from
DEFAULT_COUNTRY_CODEPhone validation data sourced from dynamic settings
Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.
osessionid=abc123Successful response
Storefront configuration payload
ISO currency code currently active for the session
TRYCurrency codes enabled for the storefront
["TRY","EUR","USD"]Regular expression used for phone validation
^(?:\+?90)?5\d{9}$Suggested phone format for UI display
+90 (5XX) XXX XX XXGET /config/ HTTP/1.1
Host: sandbox.akinon.com
Accept: */*
Successful response
{
"active_currency": "TRY",
"available_currencies": [
"TRY",
"EUR",
"USD"
],
"country": {
"pk": 223,
"name": "Turkey",
"code": "TR"
},
"user_phone_regex": "^(?:\\+?90)?5\\d{9}$",
"user_phone_format": "+90 (5XX) XXX XX XX"
}Last updated
Was this helpful?

