Support for adapting content to different languages and regions (internationalization) is implemented through standard HTTP content negotiation.
HTTP Header Usage
- Input Header (Request): Use the
Accept-Languageheader to specify preferred languages.- Example:
Accept-Language: es,en;q=0.8
- Example:
- Output Header (Response): The server will return the
Content-Languageheader, indicating the language of the returned content.- Example:
Content-Language: es
- Example:
Affected Endpoints
GET /promotions&GET /promotions/{id}GET /products&GET /products/{id}