Skip to content

Commit

Permalink
oneline input
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinfirman committed Jul 24, 2024
1 parent 728de8b commit 4f6e667
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions examples/10_B2B/01_get_contextualized_products/query.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@

# The customerAccessToken and companyLocationId in the BuyerInput are obtained from the Customers API. For details on how to obtain those, see [Headless with B2B](https://shopify.dev/docs/storefronts/headless/bring-your-own-stack/b2b)

query RecommendedProducts (
$buyer: BuyerInput
) @inContext(buyer: $buyer) {
products(first: 5) {
nodes {
id
variants(first: 5) {
query getB2BProducts ($buyer: BuyerInput) @inContext(buyer: $buyer) {
products(first: 5) {
nodes {
id
variants(first: 5) {
nodes {
id
price
Expand Down

0 comments on commit 4f6e667

Please sign in to comment.