Skip to content

List count lines

GET/admin/v1/stores/{store_id}/inventory/counts/{count_id}/lines

    A page of a count's lines, in order: uncounted, counted, or with a difference.

    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.

    • count_idstringrequired

      The count's ID, like scnt_01k8qs5s….

    Query parameters

    • stateenum

      Which lines of a count to list.

      • uncounted
      • counted
      • differences
    • qstring

      Part of a product or variant name, or a SKU.

    • 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 lines.

    Errors

    • 400bad_requestMalformed cursor.
    • 404not_foundNo such count.