---
title: >-
  Storefront API now supports per-market Fulfillable Inventory - Shopify
  developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/storefront-api-now-supports-per-market-fulfillable-inventory
  md: >-
    https://shopify.dev/changelog/storefront-api-now-supports-per-market-fulfillable-inventory.md
metadata:
  effectiveApiVersion: 2024-04
  affectedApi:
    - displayName: Storefront GraphQL API
      handle: storefront-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2024-03-25T15:31:03-04:00'
  postedAt: '2024-04-01T10:00:00-04:00'
  updatedAt: '2024-04-01T14:40:57-04:00'
  effectiveAt: '2024-04-01T10:00:00-04:00'
---

April 1, 2024

Tags:

* Storefront GraphQL API
* 2024-04

# Storefront API now supports per-market Fulfillable Inventory

As of Storefront API version 2024-04, you can use the `@inContext` directive to query `product` and `productVariant` fulfillable inventory for specified market country. The [Fulfillable Inventory](https://help.shopify.com/en/manual/shipping/setting-up-and-managing-your-shipping/fulfillable-inventory) feature must be enabled.

```
query Contextualized @inContext(country:CA){
  product(id:"gid://shopify/Product/1" )
  {
        availableForSale
    	totalInventory
        variants(first:1)
        {
          edges
          {
            node
            {
              id
              availableForSale
              quantityAvailable
              currentlyNotInStock
  
            }
          }
        }
      }
}
```

Learn more about Fulfillable Inventory on [Shopify help docs](https://help.shopify.com/en/manual/shipping/setting-up-and-managing-your-shipping/fulfillable-inventory).
