Site
Header parameters
X-CookiestringOptionalExample:
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=abc123Responses
200
Successful response
application/json
Storefront configuration payload
active_currencystringRequiredExample:
ISO currency code currently active for the session
TRYavailable_currenciesstring[]RequiredExample:
Currency codes enabled for the storefront
["TRY","EUR","USD"]user_phone_regexstringRequiredExample:
Regular expression used for phone validation
^(?:\+?90)?5\d{9}$user_phone_formatstringRequiredExample:
Suggested phone format for UI display
+90 (5XX) XXX XX XXget/config/
GET /config/ HTTP/1.1
Host: sandbox.akinon.com
Accept: */*
200
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?

