Sold out collections storefront API

Topic summary

Detecting a collection-level sold-out state via the Storefront API. The user asks if there’s a way to determine when all products in a collection are sold out or otherwise not purchasable.

  • Context: A collection may contain only unavailable products. The goal is to flag the collection as “sold out” using the Storefront API.
  • Technical note: The Storefront API is Shopify’s API for building custom storefronts; the question is about collection-level availability logic rather than individual product inventory.
  • Outcome: No answers or solutions provided in the thread. The question remains open with no confirmed method or guidance yet.
Summarized with AI on February 5. AI used: gpt-5.

Say I have a collection and all of the products in that collection have sold out/are not available to purchase. Is there any way I could know this about a collection using the storefront API?