# \#storefront-api

**URL:** https://community.shopify.dev/tag/storefront-api/20.md

[Latest](https://community.shopify.dev/latest.md) · [Categories](https://community.shopify.dev/categories.md) · [Tags](https://community.shopify.dev/tags.md)

---

## [updateCart on Dawn-family themes does not update the cart icon or cart drawer](https://community.shopify.dev/t/updatecart-on-dawn-family-themes-does-not-update-the-cart-icon-or-cart-drawer/38730)

<div class="topic-metadata">

**Author:** [@Sachin\_Tiwari](https://community.shopify.dev/u/Sachin_Tiwari)\
**Replies:** 2\
**Last updated:** [October 30, 2026, 6:08am UTC](https://community.shopify.dev/t/updatecart-on-dawn-family-themes-does-not-update-the-cart-icon-or-cart-drawer/38730 "2026-10-30T06:08:49Z")

</div>

What happens On Dawn-family themes, Shopify.actions.updateCart() saves the product to the cart, but the header cart count and the cart drawer (or cart popup) do not update. A full page refresh is needed before they show …

---

## [Deprecated cartDiscountCodesUpdate (missing discountCodes) attributed to our app — but our code never calls it. How to identify the source store?](https://community.shopify.dev/t/deprecated-cartdiscountcodesupdate-missing-discountcodes-attributed-to-our-app-but-our-code-never-calls-it-how-to-identify-the-source-store/35623)

<div class="topic-metadata">

**Author:** [@Rohan\_Vasava](https://community.shopify.dev/u/Rohan_Vasava)\
**Replies:** 41\
**Last updated:** [October 27, 2026, 4:41pm UTC](https://community.shopify.dev/t/deprecated-cartdiscountcodesupdate-missing-discountcodes-attributed-to-our-app-but-our-code-never-calls-it-how-to-identify-the-source-store/35623 "2026-10-27T16:41:01Z")

</div>

Our app’s Dev Dashboard → API health is flagging a deprecated Storefront API call: As of API version 2026-01, the cartDiscountCodesUpdate mutation will require the discountCodes argument. Endpoint: CartDiscountCodesUp…

---

## [searchableFields of the predictiveSearch query failing validation in storefront graphql schema](https://community.shopify.dev/t/searchablefields-of-the-predictivesearch-query-failing-validation-in-storefront-graphql-schema/38826)

<div class="topic-metadata">

**Author:** [@martinbaumgart](https://community.shopify.dev/u/martinbaumgart)\
**Replies:** 1\
**Last updated:** [October 23, 2026, 2:16pm UTC](https://community.shopify.dev/t/searchablefields-of-the-predictivesearch-query-failing-validation-in-storefront-graphql-schema/38826 "2026-10-23T14:16:33Z")

</div>

The searchableFields argument of the predictiveSearch query is not available on the GraphQL schema for the Storefront API and fails validation, even though it’s clearly stated as available on every public api version (20…

---

## [Issue handling external digital asset redirects and session tokens from Shopify order status page](https://community.shopify.dev/t/issue-handling-external-digital-asset-redirects-and-session-tokens-from-shopify-order-status-page/38751)

<div class="topic-metadata">

**Author:** [@Ethan\_Miller1](https://community.shopify.dev/u/Ethan_Miller1)\
**Replies:** 2\
**Last updated:** [October 21, 2026, 2:32am UTC](https://community.shopify.dev/t/issue-handling-external-digital-asset-redirects-and-session-tokens-from-shopify-order-status-page/38751 "2026-10-21T02:32:42Z")

</div>

I have been working on a custom Shopify integration designed to deliver digital application assets and media guides to customers right after checkout. During staging tests, the transition worked smoothly, but in producti…

---

## [Create pre checkout page](https://community.shopify.dev/t/create-pre-checkout-page/38341)

<div class="topic-metadata">

**Author:** [@Levente\_Kovacs](https://community.shopify.dev/u/Levente_Kovacs)\
**Replies:** 6\
**Last updated:** [October 7, 2026, 6:28pm UTC](https://community.shopify.dev/t/create-pre-checkout-page/38341 "2026-10-07T18:28:58Z")

</div>

Hi folks, I would like to ask whether it is allowed to create and host a custom pre-checkout page for Shopify. The flow would work as follows: when a customer proceeds to checkout from the cart, they would first be red…

---

## [Fetch Search & Discovery filter groups via API](https://community.shopify.dev/t/fetch-search-discovery-filter-groups-via-api/7487)

<div class="topic-metadata">

**Author:** [@gustavorino](https://community.shopify.dev/u/gustavorino)\
**Replies:** 5\
**Last updated:** [October 7, 2026, 4:08pm UTC](https://community.shopify.dev/t/fetch-search-discovery-filter-groups-via-api/7487 "2026-10-07T16:08:19Z")

</div>

Hello, Is there a way to fetch filter groups created on Search & Discovery via APIs? Either GraphQL or Rest, I can’t find any information on that. link → {your\_store}/apps/search-and-discovery/filters

---

## [Deprecated API calls wrongly attributed to our app because third parties are reusing our public storefront access token](https://community.shopify.dev/t/deprecated-api-calls-wrongly-attributed-to-our-app-because-third-parties-are-reusing-our-public-storefront-access-token/36558)

<div class="topic-metadata">

**Author:** [@Zak](https://community.shopify.dev/u/Zak)\
**Replies:** 10\
**Last updated:** [October 6, 2026, 10:21pm UTC](https://community.shopify.dev/t/deprecated-api-calls-wrongly-attributed-to-our-app-because-third-parties-are-reusing-our-public-storefront-access-token/36558 "2026-10-06T22:21:59Z")

</div>

We received an API deprecation warning for our app (with delisting threatened after October 1, 2026) for Storefront API calls our app doesn’t make. What happened Our API health report flagged CartDiscountCodesUpdate.di…

---

## [Storefront GraphQL API responses include unpublished variants](https://community.shopify.dev/t/storefront-graphql-api-responses-include-unpublished-variants/34887)

<div class="topic-metadata">

**Author:** [@guney.cobanoglu](https://community.shopify.dev/u/guney.cobanoglu)\
**Replies:** 5\
**Last updated:** [October 6, 2026, 10:03am UTC](https://community.shopify.dev/t/storefront-graphql-api-responses-include-unpublished-variants/34887 "2026-10-06T10:03:45Z")

</div>

Hi there, We’re happy that the product variants are finally Publishable, however we started observing some inconsistent behaviour with it recently. Our expectation is, just like Product type, if a ProductVariant is unp…

---

## [Storefront API \`search\` query: keyword stops filtering when combined with a field filter (e.g. \`tag:\`), so unrelated products are returned](https://community.shopify.dev/t/storefront-api-search-query-keyword-stops-filtering-when-combined-with-a-field-filter-e-g-tag-so-unrelated-products-are-returned/38228)

<div class="topic-metadata">

**Author:** [@Kenji\_Iwase](https://community.shopify.dev/u/Kenji_Iwase)\
**Replies:** 3\
**Last updated:** [October 2, 2026, 8:49am UTC](https://community.shopify.dev/t/storefront-api-search-query-keyword-stops-filtering-when-combined-with-a-field-filter-e-g-tag-so-unrelated-products-are-returned/38228 "2026-10-02T08:49:50Z")

</div>

Summary In the Storefront API search query, a free-text keyword filters correctly when used alone. But as soon as a field filter (tag:, NOT tag:, vendor: …) is combined with it, the keyword no longer narrows the results…

---

## [How to Get Storefront Access Token for Single Shop?](https://community.shopify.dev/t/how-to-get-storefront-access-token-for-single-shop/38191)

<div class="topic-metadata">

**Author:** [@J\_J](https://community.shopify.dev/u/J_J)\
**Replies:** 3\
**Last updated:** [October 1, 2026, 7:18am UTC](https://community.shopify.dev/t/how-to-get-storefront-access-token-for-single-shop/38191 "2026-10-01T07:18:58Z")

</div>

I need token for single store. This process was very simple. Now with ‘dev dashboard’ it totally confusing! It look like store need to be partner and then create a custom app? Why store need to be partner? They are Shop…

---

## [Recommended architecture for customer-bound, single-use allocation checkout in a Shopify public app](https://community.shopify.dev/t/recommended-architecture-for-customer-bound-single-use-allocation-checkout-in-a-shopify-public-app/38145)

<div class="topic-metadata">

**Author:** [@MineshShah](https://community.shopify.dev/u/MineshShah)\
**Replies:** 1\
**Last updated:** [September 30, 2026, 7:33am UTC](https://community.shopify.dev/t/recommended-architecture-for-customer-bound-single-use-allocation-checkout-in-a-shopify-public-app/38145 "2026-09-30T07:33:01Z")

</div>

Hi, I’m building a Shopify public app and I’m looking for some guidance on the best supported way to handle a fairly specific checkout flow. The basic use case is that a merchant allocates a particular product and quan…

---

## [Not Possible to Have Versionless Storefront API Endpoint?](https://community.shopify.dev/t/not-possible-to-have-versionless-storefront-api-endpoint/37896)

<div class="topic-metadata">

**Author:** [@J\_J](https://community.shopify.dev/u/J_J)\
**Replies:** 1\
**Last updated:** [September 23, 2026, 3:28am UTC](https://community.shopify.dev/t/not-possible-to-have-versionless-storefront-api-endpoint/37896 "2026-09-23T03:28:18Z")

</div>

Client pays for something that need storefront api access. Product title and id. Work done using stable storefront API version and dev moves on with other projects. 2 years later client code query still work but stops wo…

---

## [Custom frontend shopify API integration](https://community.shopify.dev/t/custom-frontend-shopify-api-integration/37661)

<div class="topic-metadata">

**Author:** [@Aaruke](https://community.shopify.dev/u/Aaruke)\
**Replies:** 1\
**Last updated:** [September 17, 2026, 9:49pm UTC](https://community.shopify.dev/t/custom-frontend-shopify-api-integration/37661 "2026-09-17T21:49:27Z")

</div>

I have my own website (aaruke.com) with a custom frontend, and I want user activity from my website to appear in the Shopify dashboard. Is there a way to integrate my website with Shopify so that whenever a user visits,…

---

## [Storefront API: search within a variant-scoped collection without scanning every product?](https://community.shopify.dev/t/storefront-api-search-within-a-variant-scoped-collection-without-scanning-every-product/37546)

<div class="topic-metadata">

**Author:** [@Benny\_Chan](https://community.shopify.dev/u/Benny_Chan)\
**Replies:** 1\
**Last updated:** [September 10, 2026, 8:31am UTC](https://community.shopify.dev/t/storefront-api-search-within-a-variant-scoped-collection-without-scanning-every-product/37546 "2026-09-10T08:31:34Z")

</div>

We’re building a Shopify theme app extension using the Storefront API 2026-07. A collection contains approximately 3,000 products and uses variant-scoped membership configured in Shopify admin. We need to search by prod…

---

## [Issue when getting product inside variants](https://community.shopify.dev/t/issue-when-getting-product-inside-variants/36505)

<div class="topic-metadata">

**Author:** [@Tiago\_Lima](https://community.shopify.dev/u/Tiago_Lima)\
**Replies:** 3\
**Last updated:** [August 21, 2026, 4:57pm UTC](https://community.shopify.dev/t/issue-when-getting-product-inside-variants/36505 "2026-08-21T16:57:23Z")

</div>

I found a request failing with the request ID: c10c3cff-9021-4983-9ff3-f1a74a6534b8-1785504926 Response I’m getting: { "errors": \[ { "message": "Cannot return null for non-nullable field ProductVariant.prod…

---

## [Trouble Understanding the new Customer API in a Headless Environment](https://community.shopify.dev/t/trouble-understanding-the-new-customer-api-in-a-headless-environment/7597)

<div class="topic-metadata">

**Author:** [@rylanharper](https://community.shopify.dev/u/rylanharper)\
**Replies:** 3\
**Last updated:** [August 21, 2026, 10:37am UTC](https://community.shopify.dev/t/trouble-understanding-the-new-customer-api-in-a-headless-environment/7597 "2026-08-21T10:37:20Z")

</div>

Hey Shopify Team and Community, My name is Rylan, this is my first post on here. Glad there is a space for Shopify developers. :rocket: I recently published an open-source project called Nitrogen a few months back, whi…

---

## [Concurrent adds on empty cart creates two different carts](https://community.shopify.dev/t/concurrent-adds-on-empty-cart-creates-two-different-carts/36929)

<div class="topic-metadata">

**Author:** [@Tobias\_Dierich](https://community.shopify.dev/u/Tobias_Dierich)\
**Replies:** 1\
**Last updated:** [August 20, 2026, 8:32pm UTC](https://community.shopify.dev/t/concurrent-adds-on-empty-cart-creates-two-different-carts/36929 "2026-08-20T20:32:31Z")

</div>

Hi, I am building an app that adds additional products when a customer clicks “Add to cart” on the main product. I do this by observing form submit events and calling the storefront \`/cart/add\` API. Both calls to \`/cart…

---

## [Carts - storefront api](https://community.shopify.dev/t/carts-storefront-api/36813)

<div class="topic-metadata">

**Author:** [@Jaspreet\_Singh](https://community.shopify.dev/u/Jaspreet_Singh)\
**Replies:** 3\
**Last updated:** [August 20, 2026, 3:05pm UTC](https://community.shopify.dev/t/carts-storefront-api/36813 "2026-08-20T15:05:43Z")

</div>

How can we distinguish abandoned and completed carts using storefront api? Like if we are assuming that a completed cart will result in null on querying then how can we distinguish an abandoned cart as shopify mention…

---

## [Bundle Products Not Displaying in Cart Using Shopify's Bundle App](https://community.shopify.dev/t/bundle-products-not-displaying-in-cart-using-shopifys-bundle-app/8655)

<div class="topic-metadata">

**Author:** [@lamasgergo](https://community.shopify.dev/u/lamasgergo)\
**Replies:** 4\
**Last updated:** [August 18, 2026, 10:40am UTC](https://community.shopify.dev/t/bundle-products-not-displaying-in-cart-using-shopifys-bundle-app/8655 "2026-08-18T10:40:03Z")

</div>

Hello Shopify Community, I’ve encountered an issue with Shopify’s official Bundle App where bundle products are not appearing in the cart as expected. Here’s a detailed overview of the problem: Issue Description: Car…

---

## [Get orders data via storefront api](https://community.shopify.dev/t/get-orders-data-via-storefront-api/36817)

<div class="topic-metadata">

**Author:** [@Jaspreet\_Singh](https://community.shopify.dev/u/Jaspreet_Singh)\
**Replies:** 1\
**Last updated:** [August 14, 2026, 1:50pm UTC](https://community.shopify.dev/t/get-orders-data-via-storefront-api/36817 "2026-08-14T13:50:37Z")

</div>

Is there a way to query all orders for a shop via storefront api?

---

## [Help me connect Hydrogen storefront to Developer Store](https://community.shopify.dev/t/help-me-connect-hydrogen-storefront-to-developer-store/8304)

<div class="topic-metadata">

**Author:** [@shopahaul](https://community.shopify.dev/u/shopahaul)\
**Replies:** 9\
**Last updated:** [August 7, 2026, 11:11pm UTC](https://community.shopify.dev/t/help-me-connect-hydrogen-storefront-to-developer-store/8304 "2026-08-07T23:11:27Z")

</div>

I’ve already generated a quick start store connected to mock.shop. However, the mock.shop store is not going to work for my use case, as it doesn’t support customer login. I need to see and test the customer login while…

---

## [Sometimes collection products do not return filtered](https://community.shopify.dev/t/sometimes-collection-products-do-not-return-filtered/34428)

<div class="topic-metadata">

**Author:** [@Tiago\_Lima](https://community.shopify.dev/u/Tiago_Lima)\
**Replies:** 12\
**Last updated:** [August 7, 2026, 7:01am UTC](https://community.shopify.dev/t/sometimes-collection-products-do-not-return-filtered/34428 "2026-08-07T07:01:41Z")

</div>

We have seen that sometimes when fetching the filtered products from collections that belong to a product we get the products not matching the filters and resulting in big response sizes that have causing us crashes. Nor…

---

## [How to get /.well-known/ucp on Shopify Plus with a Custom Headless Storefront](https://community.shopify.dev/t/how-to-get-well-known-ucp-on-shopify-plus-with-a-custom-headless-storefront/28470)

<div class="topic-metadata">

**Author:** [@cmberlin](https://community.shopify.dev/u/cmberlin)\
**Replies:** 8\
**Last updated:** [July 27, 2026, 2:49pm UTC](https://community.shopify.dev/t/how-to-get-well-known-ucp-on-shopify-plus-with-a-custom-headless-storefront/28470 "2026-07-27T14:49:02Z")

</div>

we re running a custom headless storefront (not hosted by shopify) but still want to offer features like https://eu.boden.com/.well-known/ucp how can we achieve this? is there a way to proxy this? EDIT: We found its bei…

---

## [Search Pagination is incorrect when first count changes](https://community.shopify.dev/t/search-pagination-is-incorrect-when-first-count-changes/35996)

<div class="topic-metadata">

**Author:** [@Tiago\_Lima](https://community.shopify.dev/u/Tiago_Lima)\
**Replies:** 3\
**Last updated:** [July 14, 2026, 4:39pm UTC](https://community.shopify.dev/t/search-pagination-is-incorrect-when-first-count-changes/35996 "2026-07-14T16:39:09Z")

</div>

I have noticed that the search query pagination is incorrect when the number of first element changes. In the example I have, I make a search query with first: 10, then I use the last cursor with an equal query but firs…

---

## [Shopify checkout cart permalink does not work](https://community.shopify.dev/t/shopify-checkout-cart-permalink-does-not-work/34873)

<div class="topic-metadata">

**Author:** [@Akos\_Paska](https://community.shopify.dev/u/Akos_Paska)\
**Replies:** 5\
**Last updated:** [July 13, 2026, 1:58pm UTC](https://community.shopify.dev/t/shopify-checkout-cart-permalink-does-not-work/34873 "2026-07-13T13:58:41Z")

</div>

Hello Guys. We have an applications, and currently working with thousands of stores. We have an embeded application, what can modify the cart’s page form like this: \<form action="/cart?checkout\[shipping\_address\]\[addre…

---

## [Checkout Kit does not prefill buyer address when customerAccessToken is set via cartBuyerIdentityUpdate](https://community.shopify.dev/t/checkout-kit-does-not-prefill-buyer-address-when-customeraccesstoken-is-set-via-cartbuyeridentityupdate/34891)

<div class="topic-metadata">

**Author:** [@Denis\_Chaplia](https://community.shopify.dev/u/Denis_Chaplia)\
**Replies:** 4\
**Last updated:** [July 1, 2026, 6:55pm UTC](https://community.shopify.dev/t/checkout-kit-does-not-prefill-buyer-address-when-customeraccesstoken-is-set-via-cartbuyeridentityupdate/34891 "2026-07-01T18:55:05Z")

</div>

We are using the Shopify Checkout Kit in our mobile app. Our BFF sets the buyer identity (including a Storefront API customerAccessToken) on the cart via the cartBuyerIdentityUpdate mutation before presenting checkout. W…

---

## [Shopify Ajax API returning Cloudflare 403 verification errors](https://community.shopify.dev/t/shopify-ajax-api-returning-cloudflare-403-verification-errors/34315)

<div class="topic-metadata">

**Author:** [@ayoub](https://community.shopify.dev/u/ayoub)\
**Replies:** 17\
**Last updated:** [June 29, 2026, 11:23pm UTC](https://community.shopify.dev/t/shopify-ajax-api-returning-cloudflare-403-verification-errors/34315 "2026-06-29T23:23:15Z")

</div>

Update 2: Cloudflare has closed the bot‑management incident, but the Ajax API issue is still occurring. This suggests the problem likely isn’t directly related to the original Cloudflare bot‑management issue. Update 1: C…

---

## [LinesMergeOperation.image override not surfaced in /cart.js AJAX response](https://community.shopify.dev/t/linesmergeoperation-image-override-not-surfaced-in-cart-js-ajax-response/33550)

<div class="topic-metadata">

**Author:** [@DanielPatricio](https://community.shopify.dev/u/DanielPatricio)\
**Replies:** 5\
**Last updated:** [June 17, 2026, 8:29pm UTC](https://community.shopify.dev/t/linesmergeoperation-image-override-not-surfaced-in-cart-js-ajax-response/33550 "2026-06-17T20:29:11Z")

</div>

We have a Cart Transform function that uses LinesMerge to collapse multiple component cart lines into a single customized bundle line. We set LinesMergeOperation.image, title, and cart attributes on the merge op. We wou…

---

## [Storefront API bug when changing line item variant](https://community.shopify.dev/t/storefront-api-bug-when-changing-line-item-variant/16636)

<div class="topic-metadata">

**Author:** [@Zak](https://community.shopify.dev/u/Zak)\
**Replies:** 31\
**Last updated:** [June 14, 2026, 5:53pm UTC](https://community.shopify.dev/t/storefront-api-bug-when-changing-line-item-variant/16636 "2026-06-14T17:53:36Z")

</div>

The issue happens with BXGY in any cart drawer that allows to change line item variants. This is the storefront api mutation to update the line item variant: mutation { cartLinesUpdate(cartId: $cartId, lines: $lines…

---

## [How to Prevent Other Discounts When Using Order Discount Function (Scripts Deprecation)](https://community.shopify.dev/t/how-to-prevent-other-discounts-when-using-order-discount-function-scripts-deprecation/13212)

<div class="topic-metadata">

**Author:** [@Drip\_Development](https://community.shopify.dev/u/Drip_Development)\
**Replies:** 2\
**Last updated:** [June 9, 2026, 9:56am UTC](https://community.shopify.dev/t/how-to-prevent-other-discounts-when-using-order-discount-function-scripts-deprecation/13212 "2026-06-09T09:56:30Z")

</div>

I’ve built an Order Discount Function to apply 20% off when subtotal \> €160. I need it to be exclusive — no other discount codes should be allowed. Since Shopify Functions can’t detect or disable discount codes, how can …

[Next page](https://community.shopify.dev/tag/storefront-api/20.md?match_all_tags=true&page=1&tags%5B%5D=storefront-api)
