MiB

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" },
  "defaults": { "wishlist.title": "Wishlist" },
  "availableKeys": ["wishlist.title"],
  "saved": { "wishlist.title": "Wishlist" }
}

Parameters

FieldTypeRequiredDescription
localestringnoDefaults to en.
typestringnotheme, app, emails. Defaults to theme.

On this page