Translations
Fetch merged translations for storefront UI.
GET /translations?locale=en&type=theme
Authentication is required. Responses include cache headers.
Response
{
"locale": "en",
"type": "theme",
"translations": {
"wishlist.title": "Wishlist",
"wishlist.heading": "Wishlist",
"wishlist.emptyTitle": "Your wishlist is empty",
"wishlist.emptySubtitle": "Start adding your favorite items to easily find them later."
}
}Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| locale | string | no | Defaults to en. |
| type | string | no | theme, app, emails. Defaults to theme. |