--- title: BuyerInput - Storefront API description: > Identifies a B2B buyer for the [`@inContext`](https://shopify.dev/docs/storefronts/headless/bring-your-own-stack/b2b) directive. Pass this input to contextualize Storefront API queries with data like B2B-specific pricing, quantity rules, and quantity price breaks. For B2B customers with access to multiple company locations, include the [`companyLocationId`](https://shopify.dev/docs/api/storefront/latest/input-objects/BuyerInput#fields-companyLocationId) to specify which location they're purchasing for. api_version: 2025-10 api_name: storefront type: input-object api_type: graphql source_url: html: 'https://shopify.dev/docs/api/storefront/2025-10/input-objects/BuyerInput' md: 'https://shopify.dev/docs/api/storefront/2025-10/input-objects/BuyerInput.md' --- # Buyer​Input input\_object Identifies a B2B buyer for the [`@inContext`](https://shopify.dev/docs/storefronts/headless/bring-your-own-stack/b2b) directive. Pass this input to contextualize Storefront API queries with data like B2B-specific pricing, quantity rules, and quantity price breaks. For B2B customers with access to multiple company locations, include the [`companyLocationId`](https://shopify.dev/docs/api/storefront/latest/input-objects/BuyerInput#fields-companyLocationId) to specify which location they're purchasing for. ## Fields * company​Location​Id [ID](https://shopify.dev/docs/api/storefront/2025-10/scalars/ID) The identifier of the company location. * customer​Access​Token [String!](https://shopify.dev/docs/api/storefront/2025-10/scalars/String) non-null The customer access token retrieved from the [Customer Accounts API](https://shopify.dev/docs/api/customer#step-obtain-access-token). *** ## Map No referencing types