diff --git a/src/pages/get-started/gs-web-api-request.md b/src/pages/get-started/gs-web-api-request.md index 5081566b4..f8479d5c1 100644 --- a/src/pages/get-started/gs-web-api-request.md +++ b/src/pages/get-started/gs-web-api-request.md @@ -54,6 +54,7 @@ HTTP header | Description | Syntax --- | --- | --- `Authorization` | Required, except for calls made on behalf of a guest. Specifies the authentication token that proves you as the owner of a customer, admin, or integration account. You specify the token in the `Authorization` request header with the `Bearer` HTTP authorization scheme. | `Authorization: Bearer `

`` is the authentication token returned by the token service. See [Authentication](./authentication/). `Accept` | Optional. Specifies the format of the response body. Default is `JSON`. | `Accept: application/`

`` is either `JSON` or `XML`. +`Company` | Optional. The Company ID scope for the request when a company user is assigned to more than one company. If this value is omitted, the user's default company scope is used. Use the `/V1/customers/:customer_id` call to get the company ids associated with a company user account.| `` `Content-Type` | Required for operations with a request body. Specifies the format of the request body. | `Content-Type:application/`

`` is either `JSON` or `XML`. `X-Captcha` | A shopper-entered CAPTCHA value. It is required when a shopper enters a CAPTCHA value on the frontend, unless an integration token is provided. Forms requiring CAPTCHA values are configured at **Stores** > **Configuration** > **Customers** > **Customer Configuration** > **CAPTCHA** > **Forms**. | String `X-ReCaptcha` | A value generated by the Google reCAPTCHA API. It is required when reCAPTCHA is enabled for certain forms, unless an integration token is provided. Forms requiring reCAPTCHA values are configured at **Stores** > **Security** > **Google reCAPTCHA Storefront** > **Storefront**. | String diff --git a/src/pages/graphql/usage/headers.md b/src/pages/graphql/usage/headers.md index f2a82093a..f8b58ccce 100644 --- a/src/pages/graphql/usage/headers.md +++ b/src/pages/graphql/usage/headers.md @@ -54,6 +54,7 @@ The application accepts the following headers in a GraphQL request: Header name | Value | Description --- | --- | --- `Authorization` | `Bearer ` | A customer or admin token. [Authorization tokens](authorization-tokens.md) describes how to generate tokens. +`Company` | `` | The Company ID scope for the request that identifies the company scope when a company user is assigned to more than one company. If this value is omitted, the user's default company scope is used. Use the [Get customer query](../schema/customer/queries/customer.md) to retrieve information about the companies assigned to a company user account. `Content-Currency` | A valid currency code, such as `USD` | This header is required only if the currency is not the store view's default currency. `Content-Type` | `application/json` | Required for all requests. `Preview-Version` | A timestamp (seconds since January 1, 1970). | Use this header to query products, categories, price rules, and other entities that are scheduled to be in a campaign (staged content). Staging is supported in Adobe Commerce only.