> ## Documentation Index
> Fetch the complete documentation index at: https://shipmagic-docs.speedysquirrelhq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Find the ID of a Product Collection

> Look up the numeric ID Shopify assigns to a collection

The **Product Collection** condition matches on a collection's numeric **ID**, not its name. Every collection in Shopify has a unique number, and you can read it straight from the URL.

## Finding the ID

<Steps>
  <Step title="Open the collection in Shopify admin">
    Go to **Products → Collections** and click the collection you want.
  </Step>

  <Step title="Read the number at the end of the URL">
    The URL looks like this:

    ```text theme={null}
    https://admin.shopify.com/store/your-store/collections/123456789
    ```

    The trailing number — `123456789` — is the collection ID.
  </Step>
</Steps>

<img src="https://mintcdn.com/speedysquirrel/W0I3DqHIAjEZ_8YQ/images/image-1.png?fit=max&auto=format&n=W0I3DqHIAjEZ_8YQ&q=85&s=fb93b8db67e7692510c95981a69ec79b" alt="Image" width="1440" height="864" data-path="images/image-1.png" />

## Related

<Columns cols={2}>
  <Card title="Product Attributes" icon="box" href="/product-attributes">
    The Product Collection condition and the rest of the customization attributes.
  </Card>

  <Card title="Parameter sets" icon="layer-group" href="/ai-tools/different-parameter-sets-for-conditions">
    Which condition set exposes Product Collection.
  </Card>

  <Card title="Country and province codes" icon="globe" href="/country-and-province-codes">
    The other codes ShipMagic conditions expect.
  </Card>

  <Card title="Cloning a rule" icon="copy" href="/essentials/cloning-a-rule">
    Finding a rule ID, and copying a rule.
  </Card>
</Columns>
