---
updatedAt: 2025-10-24T18:25:04.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# Get Catalog

Retrieve the specified catalog. This will include the alias configuration, how the item parameters should be represented in a GUI, as well as read-only information about how brands, categories and merchants have been setup in the catalog system.

# OpenAPI definition

```json
{
  "info": {
    "description": "The Kevel Catalog Manager API is a RESTful API that allows you to manage your product catalog and associated items.\n   \nSome useful links:\n\n- [Catalog Documentation](https://dev.kevel.com/docs/catalog)",
    "title": "Catalog Management API",
    "version": "1.0.2"
  },
  "openapi": "3.1.0",
  "security": [
    {
      "APIKeyAuthentication": []
    }
  ],
  "servers": [
    {
      "url": "https://api.kevel.co",
      "description": "Production"
    }
  ],
  "components": {
    "securitySchemes": {
      "APIKeyAuthentication": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Kevel-ApiKey",
        "description": "The API key for the Kevel Catalog Manager API generated for you."
      }
    },
    "schemas": {
      "KeyIdName": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "string",
            "maxLength": 50,
            "description": "The unique identifier."
          },
          "Name": {
            "type": "string",
            "maxLength": 50,
            "description": "The name."
          }
        },
        "description": "Brand alias configuration, which allows mapping of the standard brand id and brand name keys to the corresponding keys stored in the catalog item."
      },
      "CatalogSearchableAttribute": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "Attribute": {
                "type": "string",
                "maxLength": 50,
                "description": "The name of the searchable attribute."
              },
              "ReferenceId": {
                "type": "number",
                "minimum": 100
              },
              "Type": {
                "type": "string",
                "enum": [
                  "Referenced"
                ],
                "description": "Referenced type of searchable attribute."
              },
              "Cardinality": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "One"
                    ],
                    "description": "One cardinality."
                  },
                  {
                    "type": "string",
                    "enum": [
                      "Many"
                    ],
                    "description": "Many cardinality."
                  }
                ],
                "description": "The cardinality of the searchable attribute."
              }
            },
            "required": [
              "Attribute",
              "ReferenceId",
              "Type",
              "Cardinality"
            ]
          },
          {
            "type": "object",
            "properties": {
              "Attribute": {
                "type": "string",
                "maxLength": 50,
                "description": "The name of the searchable attribute."
              },
              "Type": {
                "type": "string",
                "enum": [
                  "Text"
                ],
                "description": "Text type of searchable attribute."
              },
              "Cardinality": {
                "type": "string",
                "enum": [
                  "One"
                ],
                "description": "One cardinality."
              }
            },
            "required": [
              "Attribute",
              "Type",
              "Cardinality"
            ]
          },
          {
            "type": "object",
            "properties": {
              "Attribute": {
                "type": "string",
                "maxLength": 50,
                "description": "The name of the searchable attribute."
              },
              "Type": {
                "type": "string",
                "enum": [
                  "Array",
                  "Boolean",
                  "Number",
                  "Object",
                  "String"
                ],
                "description": "The type of searchable attribute."
              },
              "Cardinality": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "One"
                    ],
                    "description": "One cardinality."
                  },
                  {
                    "type": "string",
                    "enum": [
                      "Many"
                    ],
                    "description": "Many cardinality."
                  }
                ],
                "description": "The cardinality of the searchable attribute."
              }
            },
            "required": [
              "Attribute",
              "Type",
              "Cardinality"
            ]
          }
        ]
      },
      "UIConfiguration": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "maxLength": 50,
            "description": "The key of the column to display."
          },
          "AllowedValues": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ],
            "description": "When a filter has a dropdown of items, the list of values will be limited to this list of IDs."
          },
          "AncestorsKey": {
            "type": "string",
            "description": "Reference to the attribute name which represents the ancestors of a given item. Used in the display of filters where the items are of a hierarchical nature."
          },
          "DisplayColumn": {
            "type": "boolean",
            "description": "Whether or not to display the attribute when viewing the record."
          },
          "DisplayFilter": {
            "type": "boolean",
            "description": "Whether or not to display the filter for the attribute."
          },
          "FilterByOne": {
            "type": "boolean",
            "description": "Whether or not to restrict filtering to a single value."
          },
          "FilterByRange": {
            "type": "boolean",
            "description": "Whether or not to display the distinct values for the attribute in the filter dropdown."
          },
          "HideReferenceIds": {
            "type": "boolean",
            "description": "Whether or not to hide the reference IDs so that only the label is shown."
          },
          "Label": {
            "type": "string",
            "description": "Human readable label for the UI. If not provided, the attribute name will be used."
          },
          "Order": {
            "type": "number",
            "description": "Order the component appears in the UI."
          },
          "Typeahead": {
            "type": "boolean",
            "description": "Whether or not to display the distinct values for the attribute in the filter dropdown."
          }
        },
        "description": "Catalog UI configuration."
      },
      "CatalogInConfigurationItemFieldsType": {
        "type": "object",
        "properties": {
          "Source": {
            "type": "string",
            "enum": [
              "ItemFields"
            ]
          }
        },
        "required": [
          "Source"
        ],
        "description": "The data is stored within the item as fields on the item object."
      },
      "CatalogOutConfigurationReferencedType": {
        "type": "object",
        "properties": {
          "Source": {
            "type": "string",
            "enum": [
              "Referenced"
            ]
          },
          "ReferenceId": {
            "type": "number",
            "minimum": 100
          }
        },
        "required": [
          "Source",
          "ReferenceId"
        ]
      },
      "CatalogOutConfigurationTypes": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/CatalogInConfigurationItemFieldsType"
          },
          {
            "$ref": "#/components/schemas/CatalogOutConfigurationReferencedType"
          }
        ],
        "discriminator": {
          "propertyName": "Source",
          "mapping": {
            "ItemFields": "#/components/schemas/CatalogInConfigurationItemFieldsType",
            "Referenced": "#/components/schemas/CatalogOutConfigurationReferencedType"
          }
        },
        "description": "The category configuration."
      },
      "CatalogOutConfiguration": {
        "type": "object",
        "properties": {
          "Categories": {
            "$ref": "#/components/schemas/CatalogOutConfigurationTypes"
          },
          "Brands": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CatalogOutConfigurationTypes"
              },
              {
                "description": "The brand configuration."
              }
            ]
          },
          "Merchants": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CatalogOutConfigurationTypes"
              },
              {
                "description": "The merchant configuration."
              }
            ]
          }
        },
        "description": "The configuration for the catalog."
      },
      "CatalogOut": {
        "type": "object",
        "properties": {
          "Aliases": {
            "type": "object",
            "properties": {
              "Id": {
                "type": "string",
                "maxLength": 50,
                "description": "The unique identifier."
              },
              "Brand": {
                "$ref": "#/components/schemas/KeyIdName"
              },
              "Category": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/KeyIdName"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "Categories": {
                        "type": "string",
                        "maxLength": 50,
                        "description": "Array of categories that signify a category hierarchy."
                      }
                    }
                  }
                ],
                "description": "Category alias configuration, which allows mapping of the standard category id, name, and hierarchy array keys to the corresponding keys stored in the catalog item."
              },
              "Image": {
                "type": "string",
                "maxLength": 50,
                "description": "Image alias configuration, which allows mapping of the standard image url to the corresponding key stored in the catalog item."
              },
              "Merchant": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/KeyIdName"
                  },
                  {
                    "description": "Merchant alias configuration, which allows mapping of the standard merchant id and merchant name keys to the corresponding keys stored in the catalog item."
                  }
                ]
              },
              "Name": {
                "type": "string",
                "maxLength": 50,
                "description": "Name alias configuration, which allows mapping of the standard name to the corresponding key stored in the catalog item."
              },
              "Product": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/KeyIdName"
                  },
                  {
                    "description": "Product alias configuration, which allows mapping of the standard product id and product name keys to the corresponding keys stored in the catalog item."
                  }
                ]
              }
            },
            "required": [
              "Id"
            ],
            "description": "The alias configuration for the catalog. The alias configuration is used to map the raw data into kevel standardized keys, so for example if your unique identifier is **catalog_id** and your name is **catalog_name**, you can set the alias configuration to **{ \"Id\": \"catalog_id\", \"Name\": \"catalog_name\" }** to map your values to the standardized keys."
          },
          "SearchableAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogSearchableAttribute"
            },
            "description": "Declaration of extra attributes that will be present on items of the catalog that should be searchable."
          },
          "Name": {
            "type": "string",
            "maxLength": 100,
            "description": "The name of the catalog."
          },
          "UIConfiguration": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UIConfiguration"
            },
            "description": "The UI configuration for the catalog."
          },
          "Type": {
            "type": "string",
            "enum": [
              "Product"
            ],
            "description": "The type of the catalog."
          },
          "Id": {
            "type": "number",
            "minimum": 100
          },
          "Configuration": {
            "$ref": "#/components/schemas/CatalogOutConfiguration"
          }
        },
        "required": [
          "Aliases",
          "Name",
          "Type",
          "Id"
        ]
      },
      "ResponseMessage": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Message that was provided."
          }
        },
        "required": [
          "message"
        ]
      },
      "Error": {
        "type": "object",
        "properties": {
          "Errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseMessage"
            },
            "description": "Collection of errors."
          }
        },
        "required": [
          "Errors"
        ]
      }
    }
  },
  "paths": {
    "/v1/catalog/{catalogId}": {
      "get": {
        "operationId": "getCatalog",
        "tags": [
          "Catalogs"
        ],
        "summary": "Get Catalog",
        "description": "Retrieve the specified catalog. This will include the alias configuration, how the item parameters should be represented in a GUI, as well as read-only information about how brands, categories and merchants have been setup in the catalog system.",
        "parameters": [
          {
            "schema": {
              "type": "number",
              "minimum": 100
            },
            "required": true,
            "name": "catalogId",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Catalog retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogOut"
                },
                "examples": {
                  "example1": {
                    "summary": "Retrieved Catalog Example 1",
                    "value": {
                      "Type": "Product",
                      "Id": 101,
                      "Name": "Product Catalog 1",
                      "Aliases": {
                        "Id": "item_id",
                        "Name": "item_name",
                        "Image": "item_image",
                        "Brand": {
                          "Id": "brand_id",
                          "Name": "brand_name"
                        },
                        "Category": {
                          "Id": "category_id",
                          "Name": "category_name",
                          "Categories": "category_ids"
                        },
                        "Merchant": {
                          "Id": "merchant_id",
                          "Name": "merchant_name"
                        },
                        "Product": {
                          "Id": "product_id",
                          "Name": "product_name"
                        }
                      },
                      "Configuration": {
                        "Brands": {
                          "Source": "ItemFields"
                        },
                        "Categories": {
                          "Source": "ItemFields"
                        },
                        "Merchants": {
                          "Source": "ItemFields"
                        }
                      }
                    }
                  },
                  "example2": {
                    "summary": "Retrieved Catalog Example 2",
                    "value": {
                      "Type": "Product",
                      "Id": 102,
                      "Name": "Product Catalog 2",
                      "Aliases": {
                        "Id": "item_id",
                        "Name": "item_name",
                        "Image": "item_image",
                        "Brand": {
                          "Id": "brand_id",
                          "Name": "brand_name"
                        },
                        "Category": {
                          "Id": "category_id",
                          "Name": "category_name",
                          "Categories": "category_ids"
                        },
                        "Merchant": {
                          "Id": "merchant_id",
                          "Name": "merchant_name"
                        },
                        "Product": {
                          "Id": "product_id",
                          "Name": "product_name"
                        }
                      },
                      "Configuration": {
                        "Brands": {
                          "Source": "ItemFields"
                        },
                        "Categories": {
                          "Source": "ItemFields"
                        },
                        "Merchants": {
                          "Source": "ItemFields"
                        }
                      }
                    }
                  },
                  "example3": {
                    "summary": "Retrieved Catalog Example 3",
                    "value": {
                      "Type": "Product",
                      "Id": 103,
                      "Name": "Product Catalog 3",
                      "Aliases": {
                        "Id": "item_id",
                        "Name": "item_name",
                        "Image": "item_image",
                        "Brand": {
                          "Id": "brand_id",
                          "Name": "brand_name"
                        },
                        "Category": {
                          "Id": "category_id",
                          "Name": "category_name",
                          "Categories": "category_ids"
                        },
                        "Merchant": {
                          "Id": "merchant_id",
                          "Name": "merchant_name"
                        },
                        "Product": {
                          "Id": "product_id",
                          "Name": "product_name"
                        }
                      },
                      "Configuration": {
                        "Brands": {
                          "Source": "ItemFields"
                        },
                        "Categories": {
                          "Source": "ItemFields"
                        },
                        "Merchants": {
                          "Source": "ItemFields"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request with errors.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "summary": {
                    "summary": "Single Error Response",
                    "value": {
                      "Errors": [
                        {
                          "message": "Error message 1."
                        }
                      ]
                    }
                  },
                  "multiple": {
                    "summary": "Multiple Errors Response",
                    "value": {
                      "Errors": [
                        {
                          "message": "Something went wrong."
                        },
                        {
                          "message": "Something else went wrong."
                        },
                        {
                          "message": "Another error."
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```