---
title: "List a product's collections"
method: GET
path: "/products/{id}/collections"
tags: ["Products"]
---

# List a product's collections

`GET /products/{id}/collections`

## Request

- Base URL: `https://api.privy.com/v1`
- URL: `https://api.privy.com/v1/products/{id}/collections`
- Auth: HTTP bearer

Retrieve the collections (Shopify) or categories (BigCommerce) one product of your
connected store belongs to, by its store product id.

Uses the same **cursor pagination** as `/v1/product_collections`. `total_count` is
`null` on Shopify stores, which do not report it. The `title` and `handle` filters of
`/v1/product_collections` are not available here and return `422 validation_failed`.

Requires a connected Shopify or BigCommerce store — without one, this endpoint returns
`404 no_connected_store`.

**Required scope:** `products_read`

## Path parameters

- `id` integer, required

## Query parameters

- `per_page` integer
- `cursor` string

## Headers

- `Privy-Account-Id` string

## Response `200`

A page of the product's collections.

- object
  - `data` ProductCollection[]
    - `id` integer: The store's collection id. Use this value in a `purchase_history` segment condition's `collection` filter.
    - `handle` string, nullable: The collection's URL slug. On BigCommerce, which has no handles, it is the last segment of the category's storefront path, and `null` when the category has none.
    - `title` string
  - `pagination` CursorPagination: Cursor-based pagination envelope, used by the Products and Product Collections endpoints.
    - `per_page` integer
    - `total_count` integer, nullable: Total items across every page. `null` when the store does not report one.
    - `has_more` boolean
    - `next_cursor` string, nullable: Opaque cursor for the next page. Pass as `?cursor=`. `null` on the last page.

## Other responses

- `401`: Missing or invalid bearer token.
- `403`: `insufficient_scope` when the token lacks the required scope for this endpoint.
- `404`: The requested resource does not exist or does not belong to your account.
- `422`: One or more fields failed validation.
- `429`: Rate limit exceeded — either Privy's API rate limit (code `rate_limited`, with the `X-RateLimit-*` headers) or the connected store's own quota passed through (code `store_rate_limited`). `Retry-After` carries the wait when it is known — BigCommerce's reset window, or a wait derived from Shopify's throttle cost payload.
- `502`: The connected store's API could not be reached or returned an error. Retry shortly.

## Changes

- **2026-11-05** `cf0885e90d5a`: 12 warning
  - added the new `forbidden` enum value to the `error/code` response property for the response status `401`
  - added the new `forbidden` enum value to the `error/code` response property for the response status `403`
  - added the new `forbidden` enum value to the `error/code` response property for the response status `404`
  - added the new `forbidden` enum value to the `error/code` response property for the response status `422`
  - …8 more
- **2026-11-03** `fe500ab59b3b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/privy/apis/privy-api/changes/products/:id/collections/get.md)

---

[API](https://skmtc.dev/privy/apis/privy-api.md) - [All operations](https://skmtc.dev/privy/apis/privy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/privy/apis/privy-api/revisions/bc29b48dcdd2?raw)
