Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2025-01-15/reference/create_catalog_category.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.

Create Catalog Category

POSThttps://a.klaviyo.com/api/catalog-categories

Create a new catalog category.

Revision header
revision: 2025-01-15required
Scopes
catalogs:write
Rate limits
Burst: 75/sSteady: 700/m

Headers

  • revision#stringrequired

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

    2025-01-15

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 3 fields
    • type#stringrequired
      Allowed values:
      • catalog-category
    • attributes#objectrequired
      Show 4 fields
      • external_id#stringrequired

        The ID of the catalog category in an external system.

        Example: SAMPLE-DATA-CATEGORY-APPAREL

      • name#stringrequired

        The name of the catalog category.

        Example: Sample Data Category Apparel

      • integration_type#stringnullable

        The integration type. Currently only "$custom" is supported.

        Allowed values:
        • $custom

        Default: $custom

        Example: $custom

      • catalog_type#stringnullable

        The type of catalog. Currently only "$default" is supported.

        Default: $default

        Example: $default

    • relationships#object
      Show 1 field
      • items#object
        Show 1 field
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • catalog-item
          • id#stringrequired

            A list of catalog item IDs that are in the given category.

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

Responses

201Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 5 fields
    • type#stringrequired
      Allowed values:
      • catalog-category
    • id#stringrequired

      The catalog category 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-CATEGORY-APPAREL

    • attributes#objectrequired
      Show 3 fields
      • external_id#stringnullable

        The ID of the catalog category in an external system.

        Example: SAMPLE-DATA-CATEGORY-APPAREL

      • name#stringnullable

        The name of the catalog category.

        Example: Sample Data Category Apparel

      • updated#string<date-time>nullable

        Date and time when the catalog category was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).

        Example: 2022-11-08T00:00:00+00:00

    • relationships#object
      Show 1 field
      • items#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • catalog-item
          • id#stringrequired

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