Skip to content

List collection products

GET/admin/v1/stores/{store_id}/collections/{collection_id}/products
  • products:read

List a collection's products in its sort order (smart collections: the products matching its rules right now).

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.

  • collection_idstringrequired

    The collection's ID, like col_01k8qs5s….

Query parameters

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

Errors

  • 400bad_requestMalformed query or cursor.
  • 404not_foundNo such collection.