@@ -5,7 +5,7 @@ HTTP Header Specifics
5
5
6
6
As mentioned in the :ref: `Client Requirements <web-services-api--client-requirements >`
7
7
and :ref: `Authentication <web-services-api--authentication >` sections, to perform
8
- an JSON:API request successfully, it is important to provide the correct **Accept*, * **Content-Type **
8
+ an JSON:API request successfully, it is important to provide the correct **Accept **, **Content-Type **
9
9
and **Authentication ** parameters, e.g.,:
10
10
11
11
.. code-block :: http
@@ -21,7 +21,6 @@ for the DELETE method. The **X-Include** request header can be used for such pur
21
21
22
22
The following table describes all existing keys for the X-Include header.
23
23
24
-
25
24
+-------------+-----------------+---------------------------+------------------------------------------------------+
26
25
| HTTP Method | X-Include key | Response Header | Description |
27
26
+=============+=================+===========================+======================================================+
@@ -99,3 +98,21 @@ Request query string contains a filter that specifies conditions for deletion op
99
98
Keep-Alive: timeout=5, max=100
100
99
Connection: Keep-Alive
101
100
101
+
102
+ The following request headers are available for the storefront API.
103
+
104
+ +-------------+-------------------+---------------------------------------------------------------------------------+
105
+ | HTTP Method | Request Header | Description |
106
+ +=============+===================+=================================================================================+
107
+ | any | X-Localization-ID | By default, all locale sensitive data are received and returned in the locale |
108
+ | | | selected for the current website. This header can be used to specify another |
109
+ | | | locale. The list of available localization IDs can be received via the |
110
+ | | | ``/api/localizations `` resource. |
111
+ +-------------+-------------------+---------------------------------------------------------------------------------+
112
+ | any | X-Currency | By default, all currency-related data are received and returned in the currency |
113
+ | | | selected for the current website. This header can be used to specify another |
114
+ | | | currency. The list of available currency codes can be received via the |
115
+ | | | ``/api/currencies `` resource. |
116
+ | | | |
117
+ | | | **Note: ** This header is available for OroCommerce Enterprise Edition only. |
118
+ +-------------+-------------------+---------------------------------------------------------------------------------+
0 commit comments