DefaultLocale API
XO features (recommendation, product tagging) need a default locale to work. This default locale is set by tenant/environment.
Set the default locale
POST
https://items.attraqt.io/locale/{locale}
Query Parameters
Name
Type
Description
tenant*
string
environment*
string
Headers
Name
Type
Description
Authentication*
string
Authentication bearer token.
{}
Get the default locale
GET
https://items.attraqt.io/locale
This endpoint allows you to get the default locale.
Query Parameters
Name
Type
Description
tenant*
string
environment*
string
Headers
Name
Type
Description
Authentication*
string
Authentication token.
{
"tenant": {tenant},
"environment": {environment}
"locale": {locale}
}
Delete the default locale
DELETE
https://items.attraqt.io/locale
Query Parameters
Name
Type
Description
tenant*
string
environment*
string
Headers
Name
Type
Description
Authentication*
string
Authentication token
Last updated