Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2025-01-15/reference/get_variant_ids_for_catalog_item.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2025-01-15

You're reading the reference for API revision 2025-01-15. The latest revision is 2026-10-15. See this page in the latest revision.

Get Variant IDs for Catalog Item

GEThttps://a.klaviyo.com/api/catalog-items/{id}/relationships/variants

Get all variants related to the given item ID.

Variants can be sorted by the following fields, in ascending and descending order: created

Returns a maximum of 100 variants per request.

Revision header
revision: 2025-01-15required
Scopes
catalogs:read
Rate limits
Burst: 350/sSteady: 3500/m

Path parameters

  • id#stringrequirednullable

    The catalog item ID is a compound ID (string), with format: {integration}:::{catalog}:::{external_id}. Currently, the only supported integration type is $custom, and the only supported catalog is $default.

    Example: $custom:::$default:::SAMPLE-DATA-ITEM-1

Query parameters

  • filter#string

    For more information please visit API overview
    Allowed field(s)/operator(s):
    ids: any
    item.id: equals
    sku: equals
    title: contains
    published: equals

    Example: any(ids,['$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM'])

  • page[cursor]#string

    For more information please visit API overview

  • sort#string

    For more information please visit API overview

    Allowed values:
    • created
    • -created

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2025-01-15

Responses

200Success

Content type: application/vnd.api+json

  • data#object[]required
    Show 2 fields
    • type#stringrequired
      Allowed values:
      • catalog-variant
    • id#stringrequired

      The catalog variant ID is a compound ID (string), with format: {integration}:::{catalog}:::{external_id}. Currently, the only supported integration type is $custom, and the only supported catalog is $default.

      Example: $custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string