Skip to content

List variants with their stock

GET/admin/v1/stores/{store_id}/inventory

    List variants with their stock, ordered by product and variant title.

    Path parameters

    • store_idstringrequired

      The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

    Query parameters

    • qstring

      Search product title, variant title or SKU.

    • location_idstring

      Count stock at this location only.

    • low_stockinteger

      Only tracked variants low on stock: available at or below their own threshold, or this number for variants without one.

    • sold_outboolean

      Only tracked variants with nothing available.

    • incomingboolean

      Only variants with units on their way in a shipped transfer or an ordered purchase order, to location_id when given.

    • limitinteger

      1–250, default 50.

    • cursorstring

      page.next_cursor from the previous page.

    Headers

    • shop-api-versionYYYY-MM

      The version to answer in. Without it, your app’s pinned version, else the newest.

    Returns

    200 A page of variants with stock.

    Errors

    • 400bad_requestMalformed query or cursor.
    • 403forbiddenMissing permission.