Use a specific locale code in a REST request

Requests can include the x-ccasset-language header to instruct the endpoint to use a specific locale code for content returned in the response.

The locale supplied in the header must be supported by your store. (See Select additional languages for more information.) The API endpoint documentation specifies if the x-ccasset-language header is required or optional for an endpoint. See Learn about the APIs for information about accessing the endpoint documentation.