Shopify Collections API

Retrieve collection data

Operations 26

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /collections/{collection_id}.json Get a collection by ID · Shopify Retrieve a single collection #
Ask an LLM
“What details and metadata does Shopify hold for one of my collections?”
“Can I look up a single collection when I only know its ID?”
Tell an agent
Get collection {collection_id}.
Show only {fields} for collection {collection_id}.
GET /collections/{collection_id}/products.json List the products in a collection · Shopify Retrieve products in a collection #
Ask an LLM
“Which products belong to one of my collections?”
“Can I cap how many products come back when I list what's inside a collection?”
Tell an agent
List the products inside collection {collection_id}.
Show the first {limit} products in collection {collection_id}.
GET /admin/api/2020-01/custom_collections.json List custom collections (API 2020-01) · Shopify Retrieves A List Of Custom Collections #
Ask an LLM
“Which manual (custom) collections does my shop have under API 2020-01?”
“Can I find the custom collections that contain a given product with version 2020-01?”
Tell an agent
List 2020-01 custom collections containing product {product_id}.
Show custom collections titled {title} on API 2020-01.
GET /admin/api/2020-01/custom_collections/count.json Count custom collections (API 2020-01) · Shopify Retrieves A Count Of Custom Collections #
Ask an LLM
“How many manual collections are in my store according to API 2020-01?”
“Can the 2020-01 API count only the published custom collections?”
Tell an agent
Count custom collections with API 2020-01.
Tell me how many 2020-01 custom collections have published status {published_status}.
GET /admin/api/2020-04/custom_collections.json List custom collections (API 2020-04) · Shopify Retrieves A List Of Custom Collections #
Ask an LLM
“Can I look up a custom collection by its handle using API 2020-04?”
“Which hand-picked collections changed recently, per version 2020-04?”
Tell an agent
Find the 2020-04 custom collection with handle {handle}.
List custom collections updated since {updated_at_min} via API 2020-04.
GET /admin/api/2020-04/custom_collections/count.json Count custom collections (API 2020-04) · Shopify Retrieves A Count Of Custom Collections #
Ask an LLM
“What is the total number of custom collections in my shop on version 2020-04?”
“Can I count the 2020-04 custom collections that include one product?”
Tell an agent
Count 2020-04 custom collections that contain product {product_id}.
Give me the custom collection total from the 2020-04 count endpoint.
GET /admin/api/2020-07/custom_collections.json List custom collections (API 2020-07) · Shopify Retrieves A List Of Custom Collections #
Ask an LLM
“Can I list custom collections published within a date range on API 2020-07?”
“Is there a page size limit on the 2020-07 custom collections list?”
Tell an agent
List custom collections published between {published_at_min} and {published_at_max} with version 2020-07.
Get {limit} custom collections per page on API 2020-07.
GET /admin/api/2020-07/custom_collections/count.json Count custom collections (API 2020-07) · Shopify Retrieves A Count Of Custom Collections #
Ask an LLM
“How many custom collections were updated in a window, per the 2020-07 count?”
“Can I count custom collections by title with version 2020-07?”
Tell an agent
Count custom collections updated between {updated_at_min} and {updated_at_max} on API 2020-07.
Count 2020-07 custom collections titled {title}.
GET /admin/api/2020-10/custom_collections.json List custom collections (API 2020-10) · Shopify Retrieves A List Of Custom Collections #
Ask an LLM
“What manually curated collections does my Shopify store have on API 2020-10?”
“Can I fetch specific custom collections by ID with version 2020-10?”
Tell an agent
List all custom collections using API version 2020-10.
Get custom collections {ids} from the 2020-10 list.
GET /admin/api/2020-10/custom_collections/count.json Count custom collections (API 2020-10) · Shopify Retrieves A Count Of Custom Collections #
Ask an LLM
“How many custom collections does my shop have on API 2020-10?”
“Can the 2020-10 count tell me how many manual collections were published after a date?”
Tell an agent
Count my custom collections with API version 2020-10.
Count 2020-10 custom collections published after {published_at_min}.
GET /admin/api/2021-01/custom_collections.json List custom collections (API 2021-01) · Shopify Retrieves A List Of Custom Collections #
Ask an LLM
“Does the 2021-01 API let me list only unpublished custom collections?”
“Can I page through custom collections after a known ID on version 2021-01?”
Tell an agent
List 2021-01 custom collections with published status {published_status}.
Show custom collections after {since_id} via API 2021-01.
GET /admin/api/2021-01/custom_collections/count.json Count custom collections (API 2021-01) · Shopify Retrieves A Count Of Custom Collections #
Ask an LLM
“What is my custom collection count according to version 2021-01?”
“Can the 2021-01 count be limited to collections published before a date?”
Tell an agent
Count custom collections via the 2021-01 API.
Count 2021-01 custom collections published before {published_at_max}.
GET /admin/api/unstable/custom_collections.json List custom collections (unstable API) · Shopify Retrieves A List Of Custom Collections #
Ask an LLM
“Can I list custom collections on the unstable API version?”
“Which custom collections does the unstable endpoint return with trimmed fields?”
Tell an agent
List custom collections on the unstable API version.
Fetch unstable-version custom collections showing only {fields}.
GET /admin/api/unstable/custom_collections/count.json Count custom collections (unstable API) · Shopify Retrieves A Count Of Custom Collections #
Ask an LLM
“Can I count custom collections on the unstable API version?”
“How many custom collections changed before a date, per the unstable count?”
Tell an agent
Count custom collections on the unstable API version.
Count unstable-version custom collections updated before {updated_at_max}.
GET /admin/api/2020-01/smart_collections.json List smart collections (API 2020-01) · Shopify Retrieves A List Of Smart Collections #
Ask an LLM
“Which automated (smart) collections does my shop have under API 2020-01?”
“Can I find smart collections that include a certain product with version 2020-01?”
Tell an agent
List 2020-01 smart collections containing product {product_id}.
Show smart collections titled {title} on API 2020-01.
GET /admin/api/2020-01/smart_collections/count.json Count smart collections (API 2020-01) · Shopify Retrieves A Count Of Smart Collections #
Ask an LLM
“How many rule-based collections are in my store according to API 2020-01?”
“Can the 2020-01 API count only published smart collections?”
Tell an agent
Count smart collections with API 2020-01.
Tell me how many 2020-01 smart collections have published status {published_status}.
GET /admin/api/2020-04/smart_collections.json List smart collections (API 2020-04) · Shopify Retrieves A List Of Smart Collections #
Ask an LLM
“Is there a 2020-04 way to find an automated collection from its URL handle?”
“Which automated collections changed recently, per version 2020-04?”
Tell an agent
Find the 2020-04 smart collection with handle {handle}.
List smart collections updated since {updated_at_min} via API 2020-04.
GET /admin/api/2020-04/smart_collections/count.json Count smart collections (API 2020-04) · Shopify Retrieves A Count Of Smart Collections #
Ask an LLM
“How big is my set of rule-based collections, counted with version 2020-04?”
“Can I count the 2020-04 smart collections that pick up one product?”
Tell an agent
Count 2020-04 smart collections that contain product {product_id}.
Give me the smart collection total from the 2020-04 count endpoint.
GET /admin/api/2020-07/smart_collections.json List smart collections (API 2020-07) · Shopify Retrieves A List Of Smart Collections #
Ask an LLM
“Can I list smart collections published in a date range on API 2020-07?”
“How many smart collections will the 2020-07 list hand back per request?”
Tell an agent
List smart collections published between {published_at_min} and {published_at_max} with version 2020-07.
Get {limit} smart collections per page on API 2020-07.
GET /admin/api/2020-07/smart_collections/count.json Count smart collections (API 2020-07) · Shopify Retrieves A Count Of Smart Collections #
Ask an LLM
“Can the 2020-07 API tally the automated collections edited between two dates?”
“Can I count smart collections by title with version 2020-07?”
Tell an agent
Count smart collections updated between {updated_at_min} and {updated_at_max} on API 2020-07.
Count 2020-07 smart collections titled {title}.
GET /admin/api/2020-10/smart_collections.json List smart collections (API 2020-10) · Shopify Retrieves A List Of Smart Collections #
Ask an LLM
“What rule-driven collections does my Shopify store have on API 2020-10?”
“Can I fetch specific smart collections by ID with version 2020-10?”
Tell an agent
List all smart collections using API version 2020-10.
Get smart collections {ids} from the 2020-10 list.
GET /admin/api/2020-10/smart_collections/count.json Count smart collections (API 2020-10) · Shopify Retrieves A Count Of Smart Collections #
Ask an LLM
“How many smart collections does my shop have on API 2020-10?”
“What number of smart collections went live after a given date, per version 2020-10?”
Tell an agent
Count my smart collections with API version 2020-10.
Count 2020-10 smart collections published after {published_at_min}.
GET /admin/api/2021-01/smart_collections.json List smart collections (API 2021-01) · Shopify Retrieves A List Of Smart Collections #
Ask an LLM
“Does the 2021-01 API let me list only unpublished smart collections?”
“Is it possible to resume a 2021-01 smart collection listing from the last ID returned?”
Tell an agent
List 2021-01 smart collections with published status {published_status}.
Show smart collections after {since_id} via API 2021-01.
GET /admin/api/2021-01/smart_collections/count.json Count smart collections (API 2021-01) · Shopify Retrieves A Count Of Smart Collections #
Ask an LLM
“What is my smart collection count according to version 2021-01?”
“How many automated collections were published before some date, per the 2021-01 count?”
Tell an agent
Count smart collections via the 2021-01 API.
Count 2021-01 smart collections published before {published_at_max}.
GET /admin/api/unstable/smart_collections.json List smart collections (unstable API) · Shopify Retrieves A List Of Smart Collections #
Ask an LLM
“Can I list smart collections on the unstable API version?”
“Which smart collections does the unstable endpoint return with trimmed fields?”
Tell an agent
List smart collections on the unstable API version.
Fetch unstable-version smart collections showing only {fields}.
GET /admin/api/unstable/smart_collections/count.json Count smart collections (unstable API) · Shopify Retrieves A Count Of Smart Collections #
Ask an LLM
“Can I count smart collections on the unstable API version?”
“How many smart collections changed before a date, per the unstable count?”
Tell an agent
Count smart collections on the unstable API version.
Count unstable-version smart collections updated before {updated_at_max}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/shopify-collections-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

shopify-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shopify Collections API
  x-refined-note:
  - x-date differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Collections across 2 of this provider''s published API definitions: shopify-admin-rest-api-openapi.yml, shopify-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{store}.myshopify.com/admin/api/2025-01
  description: Shopify Admin REST API
  variables:
    store:
      default: my-store
      description: The Shopify store subdomain
tags:


# --- truncated at 32 KB (68 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/shopify/refs/heads/main/openapi/shopify-collections-api-openapi.yml