---
title: Commerce catalog entity
slug: '3139'
canonical_url: https://docs.coveo.com/en/3139/
collection: coveo-for-commerce
source_format: adoc
---
# Commerce catalog entity

The [catalog entity](https://docs.coveo.com/en/3143.md) is at the core of a Coveo for Commerce implementation.
It establishes relationships between the [catalog objects](https://docs.coveo.com/en/ncig0154.md).
A catalog entity also lets you standardize your commerce fields to ensure data reliability for [Coveo Machine Learning (Coveo ML)](https://docs.coveo.com/en/188.md) [models](https://docs.coveo.com/en/1012.md).

Creating a catalog entity is a requirement for enabling Coveo's machine learning capabilities, maintaining your [catalog data](https://docs.coveo.com/en/obcf0333.md), and analyzing [Coveo Analytics data](https://docs.coveo.com/en/259.md) through [advanced commerce reporting](https://docs.coveo.com/en/lbtf7260.md).

> **Tip**
>
> The [resource snapshots](https://docs.coveo.com/en/3239.md) feature lets you copy configurations from one Coveo for Commerce [organization](https://docs.coveo.com/en/185.md) to another, such as when you migrate from a sandbox to a production organization.
> It only copies the source configuration, not the source content.
>
> Use this feature to reuse your [catalog entities](https://docs.coveo.com/en/3143.md) and their [catalog configurations](https://docs.coveo.com/en/l5if0520.md), your [Catalog sources](https://docs.coveo.com/en/l5if0244.md), and your [fields](https://docs.coveo.com/en/200.md) and field [mappings](https://docs.coveo.com/en/217.md).

## Add a catalog entity

There's a 1:1 relationship between a catalog entity and a product source.
This means that each source you created to hold your products must have its own catalog entity.
However, sources that contain only items of the `availability` object type can be shared across multiple catalog entities.

To create a catalog entity:

1. On the [**Catalogs**](https://platform.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/commerce/catalogs/)) page of the [Coveo Administration Console](https://docs.coveo.com/en/183.md), click **Add catalog**.

1. Enter a suitable **Name** for your catalog entity (for example, `Barca_Sports_en_US`).

1. Under **Object Types**, select the [catalog objects](https://docs.coveo.com/en/ncig0154.md) your catalog entity should include.
These object types belong to the [catalog configuration](https://docs.coveo.com/en/l5if0520.md) that you select in a later step, not to the catalog entity itself.
To change them later, [change the catalog structure](#change-the-catalog-structure) of the configuration, which affects all catalog entities that use it.

  * If your source only contains [catalog product data](https://docs.coveo.com/en/m53g7119.md) objects (without items of the [variant](https://docs.coveo.com/en/mc7f0326.md) or [availability](https://docs.coveo.com/en/mc7e9096.md) object types), continue to [step 4](#step4).

  * If your source contains items of the [`variant` object type](https://docs.coveo.com/en/m53g0506.md) to handle different variations of a product, select **Variants**.
Note that if you're solely relying on [product groupings](https://docs.coveo.com/en/m53g0506.md#product-groupings) to handle different variations of a product, you don't need to select **Variants**.

  * If your source contains items of the [`availability` object type](https://docs.coveo.com/en/m53g0124.md) to control whether a product or variant is available in a specific channel (for example, a store or a warehouse), select the **Availability** checkbox.

1. [[step4]]Under **Catalog Content**, select the [source](https://docs.coveo.com/en/246.md) that contains your [catalog data](https://docs.coveo.com/en/obcf0333.md) objects.
The source you select can only be used with a single catalog entity.

1. Depending on the way you've structured your data, your items of the `availability` object type might be in another source.
In this case, from the dropdown menu, select that source.
Otherwise, clear the **Use a different source for availabilities** checkbox.

1. (Optional) Use the **Project** selector to associate this catalog with one or more [projects](https://docs.coveo.com/en/n7ef0517.md).

1. To continue [selecting a configuration for your catalog](#catalog-configuration), click **Next**.

## Catalog configuration

A [catalog configuration](https://docs.coveo.com/en/l5if0520.md) establishes the relationship between the different [catalog objects](https://docs.coveo.com/en/ncig0154.md).
This configuration is re-usable across multiple catalog entities.

When configuring a catalog entity, you can either select an existing catalog configuration or create a new one.

To create a new catalog configuration:

1. Click **Create a New Configuration**.

1. Enter a suitable **Configuration name**, and then click **Next**.

1. Under **Define your products**, select the `objecttype` field value that identifies items as _products_ in your [catalog data](https://docs.coveo.com/en/obcf0333.md) (for example, `Product`).

   1. Under **Select your Product ID metadata**, select the metadata key that uniquely identifies each distinct product in your [catalog data](https://docs.coveo.com/en/obcf0333.md).
Make sure to map this metadata key to the `permanentid` field in your source.
See [Mapping to `permanentid`](https://docs.coveo.com/en/n8of7021.md#map-to-permanentid-catalog-source) for details.

1. If your source contains items of the `Variant` object type, under **Define your variants**, select the `objecttype` field value that identifies items as _variants_ in your [catalog data](https://docs.coveo.com/en/obcf0333.md) (for example, `Variant`).

   1. Under **Select your Variant ID metadata**, select the metadata key that uniquely identifies each distinct variant in your [catalog data](https://docs.coveo.com/en/obcf0333.md).

1. Click **Next**.

1. If your data hierarchy contains items of the `Availability` object type, under **Define your availabilities**, select the `objecttype` field value that identifies items as _availability channels_ in your [catalog data](https://docs.coveo.com/en/obcf0333.md) (for example, `Availability`).

   1. Under **Select your Availability ID metadata**, select the metadata key that uniquely identifies each [availability channel](https://docs.coveo.com/en/mc7e9096.md) in your [catalog data](https://docs.coveo.com/en/obcf0333.md).

   1. Under **Select your Available SKUs metadata**, select the multi-value metadata key that lists all sellable items IDs (such as values of `ec_product_id` or `ec_variant_id`), available from each distinct availability channel (for example, `ec_available_items`).

1. Click **Next**.

1. Under **Map standard fields to your catalog**, map the standard commerce fields to [metadata](https://docs.coveo.com/en/218.md) keys from your [catalog data](https://docs.coveo.com/en/obcf0333.md).
See the [Commerce standard fields](#commerce-standard-fields) section for more information on this step.

1. Click **Finish**.

The catalog entity is now available on the [**Catalogs**](https://platform.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/commerce/catalogs/)) page.

Once your catalog entity is created, [push your catalog data into the source](https://docs.coveo.com/en/p48b0322.md) once more.
This ensures that the catalog entity is properly registered and ensures the proper functioning of Coveo ML models.

## Commerce standard fields

In the **Map standard fields to your catalog** step of the [catalog configuration](#catalog-configuration), you'll be asked to [map](https://docs.coveo.com/en/217.md) the [standard commerce fields](https://docs.coveo.com/en/n73f0502.md#standard-commerce-fields) to [metadata](https://docs.coveo.com/en/218.md) from your [index](https://docs.coveo.com/en/204.md).
This step is critical for:

* Making sure that [Coveo Personalization-as-you-go](https://docs.coveo.com/en/m5kd0347.md) (PAYG) can build a [product vector space](https://docs.coveo.com/en/l9gg3565.md) that represents your content.

* Tracking [Coveo Analytics events](https://docs.coveo.com/en/260.md) using the [Event Protocol](https://docs.coveo.com/en/o1n91230.md).
This ensures that commerce [events](https://docs.coveo.com/en/260.md) are enriched with the required [catalog data](https://docs.coveo.com/en/obcf0333.md), such as `ec_item_group_id`, `ec_category`, and `ec_brand`.

> **Warning**
>
> [catalog configuration](https://docs.coveo.com/en/l5if0520.md) [mappings](https://docs.coveo.com/en/217.md) aren't the same as [source mappings](https://docs.coveo.com/en/1640.md), in which you [map](https://docs.coveo.com/en/217.md) [metadata](https://docs.coveo.com/en/218.md) from your [source](https://docs.coveo.com/en/246.md) to Coveo [fields](https://docs.coveo.com/en/200.md).
>
> If you use a [Catalog source](https://docs.coveo.com/en/l5if0244.md) to [index](https://docs.coveo.com/en/204.md) your [catalog data](https://docs.coveo.com/en/obcf0333.md),
> the
> [standard field mappings](https://docs.coveo.com/en/3139.md#commerce-standard-fields) defined in the [catalog configuration](https://docs.coveo.com/en/l5if0520.md) will overwrite any [source](https://docs.coveo.com/en/246.md) [mappings](https://docs.coveo.com/en/217.md) for the standard commerce [fields](https://docs.coveo.com/en/200.md).

To [map](https://docs.coveo.com/en/217.md) the standard commerce [fields](https://docs.coveo.com/en/200.md) to your [catalog entity](https://docs.coveo.com/en/3143.md), in the **Associated Metadata** column, select the [metadata](https://docs.coveo.com/en/218.md) to associate to the standard [fields](https://docs.coveo.com/en/200.md).

![Standard fields mapping in catalog configuration | Coveo for Commerce](https://docs.coveo.com/en/assets/images/coveo-for-commerce/images/standard-fields-mapping.png)

If you haven't pushed your commerce data to your [source](https://docs.coveo.com/en/246.md) yet, you won't be able to see your [metadata](https://docs.coveo.com/en/218.md) keys in the dropdowns of the **Associated Metadata** column.
However, if you know the nomenclature of the [metadata](https://docs.coveo.com/en/218.md) keys that you'll be using, you can enter them in the **Associated Metadata** column.

When structuring your [product](https://docs.coveo.com/en/m53g7119.md), [variant](https://docs.coveo.com/en/m53g0506.md), and [availability](https://docs.coveo.com/en/m53g0124.md) data, use the same [field](https://docs.coveo.com/en/200.md) names as the standard commerce [fields](https://docs.coveo.com/en/200.md) (prefixed with `ec_`, such as `ec_price`).

If your [catalog data](https://docs.coveo.com/en/obcf0333.md) uses different names from those the standard [fields](https://docs.coveo.com/en/200.md) expect, such as `price`, [map the standard commerce fields](https://docs.coveo.com/en/n8of7021.md#step-2-standard-fields-mapping-catalog-source) to your [metadata](https://docs.coveo.com/en/218.md) in the [catalog configuration](https://docs.coveo.com/en/l5if0520.md).

## Edit a catalog entity

You can edit a catalog entity to change its name, the source it uses, the [catalog configuration](https://docs.coveo.com/en/l5if0520.md) it's associated with, or the associated facets.

1. On the [**Catalogs**](https://platform.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/commerce/catalogs/)) page, click the desired catalog entity, and then click **Edit** in the Action bar.
This will open the **Overview** tab where you can:

  * Edit the **Name**.

  * Edit the **Description**.

  * Edit the **Catalog Content**, where you can update the [source](https://docs.coveo.com/en/246.md) that contains your [catalog data](https://docs.coveo.com/en/obcf0333.md).
Note that the source you select can only be used with a single catalog entity.
+
If your catalog entity has availability objects and the way you've structured your data has changed, your availability data might now be contained in another source.
In this case, select the new source from the dropdown menu.
Otherwise, clear the **Use a different source for availabilities** checkbox.

1. To review facet associations for this catalog entity, select the **Facet Association** tab.
For more information, see the [Facet Association](#facet-association-tab) section.

1. Click **Save**.

1. When you're done editing your catalog entity, you must [push your catalog data into the source](https://docs.coveo.com/en/p48b0322.md) once more.
This ensures that the catalog entity is properly registered and ensures the proper functioning of Coveo ML models.

### "Facet Association" tab

Using the **Facet Association** tab, you can quickly view which facetable field names exist for each [catalog object](https://docs.coveo.com/en/ncig0154.md) type.
The percentage shown represents the ratio of each field by catalog object type.
By hovering over the percentage shown, you can see the number of documents that contain the associated field name.

> **Tip**
>
> Depending on your specific use case, if the percentages deviate from what you expect, this could be an indication that your data isn't properly structured.

In advanced use cases, your data structure may require having the same facetable fields on multiple catalog object types.
For example, you may want to use the same `language` field across all your items.
In this case, the value `@language` would need to appear on all catalog objects (Product, Variant, and Availability) to return matching results.

To access the **Facet Association** tab:

1. On the [**Catalogs**](https://platform.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/commerce/catalogs/)) page, click the desired catalog entity, and then click **Edit** in the Action bar.

1. Select the **Facet Association** tab.

1. Select the desired field, and then click **Edit field** in the Action bar.
You'll be sent to the **Edit a field** subpage, where you can edit the [field options](https://docs.coveo.com/en/1833.md#field-options).

1. Click **Save**.

1. When you're done editing your catalog entity, you must [push your catalog data into the source](https://docs.coveo.com/en/p48b0322.md) once more.
This ensures that the catalog entity is properly registered and ensures the proper functioning of Coveo ML models.

1. (Optionally) Click **Refresh Field Cache** in the upper-right corner.

   This allows you to instantly update the field values you edited instead of waiting for them to update automatically through the staged refresh, which automatically detects the fields that you can use to generate [facets](https://docs.coveo.com/en/1571.md) every 15 minutes.
   The last update time appears at the lower right of the **Facet Association** tab.

## Delete a catalog entity

On the [**Catalogs**](https://platform.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/commerce/catalogs/)) page, click the desired catalog entity, and then click **Delete** in the Action bar.

## Project association prompts

A catalog is a [resource](https://docs.coveo.com/en/2820.md) you can associate with a [project](https://docs.coveo.com/en/n7ed6189.md).
Resources associated with a [project](https://docs.coveo.com/en/n7ed6189.md) can [require confirmation](https://docs.coveo.com/en/n7ef0517.md#require-users-confirmation-to-modify-project-resources) when you modify them.
These confirmation prompts help prevent accidental changes that could affect a Coveo implementation.

Deleting a resource always requires confirmation, whether it's associated with a project or not.
When the resource is associated with projects, the confirmation prompt lists those projects.

## Edit a commerce catalog configuration

You can edit a [catalog configuration](https://docs.coveo.com/en/l5if0520.md) to rename it, change which `objecttype` field values identify your [catalog objects](https://docs.coveo.com/en/ncig0154.md), remap the standard commerce [fields](https://docs.coveo.com/en/200.md), or [change the catalog structure](#change-the-catalog-structure).

A configuration is reusable, so your changes apply to every catalog entity associated with it.
The **Overview** tab lists those catalog entities under **Associated Catalogs**.

> **Notes**
>
> * Editing a configuration requires the **Edit** access level on the **Commerce** - **Catalogs** domain, and the **Allowed** access level on **Search** - **Execute queries** to read object types and [metadata](https://docs.coveo.com/en/218.md) from your [source](https://docs.coveo.com/en/246.md) (see the [Required privileges](#required-privileges) section).
> Otherwise, the configuration opens in read-only mode.
>
> * A configuration must be associated with at least one catalog entity before you can open it for editing.

1. On the [**Catalogs**](https://platform.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/commerce/catalogs/)) page, click **Manage configurations**.

1. Click icon:external-link[alt=external-link,width=16] next to the configuration you want to edit.

1. Edit the configuration in the following tabs:

  * **Overview**: Rename the configuration, [change the catalog structure](#change-the-catalog-structure), and review the associated catalog entities.

  * **Product**: Change the `objecttype` field value and the ID [metadata](https://docs.coveo.com/en/218.md) key that identify products, and those that identify [variants](https://docs.coveo.com/en/mc7f0326.md) when the structure includes them.

  * **Availability**: Change the `objecttype` field value, the ID [metadata](https://docs.coveo.com/en/218.md) key, and the available SKUs [metadata](https://docs.coveo.com/en/218.md) key that identify [availability channels](https://docs.coveo.com/en/mc7e9096.md).
This tab appears only when the structure includes availability.

  * **Standard fields**: Remap the standard commerce [fields](https://docs.coveo.com/en/200.md) to [metadata](https://docs.coveo.com/en/218.md) keys from your [catalog data](https://docs.coveo.com/en/obcf0333.md) (see the [Commerce standard fields](#commerce-standard-fields) section).

1. Click **Save**.

   The **Review configuration changes** dialog lists every catalog entity your changes affect.

1. Review the summary, and then click **Apply changes**.

* To close the dialog without saving, click **Cancel**.
* To discard all your edits, click **Cancel** at the bottom of the page, and then click **Discard unsaved changes**.

1. When you're done editing the configuration, you must [push your catalog data into the source](https://docs.coveo.com/en/p48b0322.md) once more.
This lets Coveo pick up the configuration changes and process your [catalog data](https://docs.coveo.com/en/obcf0333.md) accordingly.

### Change the catalog structure

The catalog structure determines which [catalog objects](https://docs.coveo.com/en/ncig0154.md) a configuration defines: products only, products and [variants](https://docs.coveo.com/en/mc7f0326.md), products and [availability channels](https://docs.coveo.com/en/mc7e9096.md), or all three.

You change the structure on the configuration, not on the catalog entity.
Adding or removing an object type therefore affects every catalog entity that uses that configuration.

Adding **Variants** to a configuration that's already in use is a breaking change for products that have no variant items.
Variants become the sellable items, so a product with no variant item of its own is left with nothing a customer can purchase.

> **Important**
>
> If your catalog configuration contains variants, it's essential to ensure that all products have at least one associated variant, even if the product itself doesn't come in different variations.
>
> In cases where a product has no variations, you must create a variant with minimal information to prevent this variant from appearing as a filtering option for the attached product.
>
> See [Variants for products that have no variations](https://docs.coveo.com/en/m53g0506.md#variants-for-products-that-have-no-variations) to learn how to configure a variant object for a product that has no variations.

To change the catalog structure:

1. In the **Overview** tab of the configuration, under **Catalog Structure**, select or clear the **Variants** and **Availability** checkboxes.

   The structure diagram and the configuration tabs update as you make your selection.
   For example, when you select **Availability**, the **Availability** tab appears.

1. Complete the tabs that your new structure adds.

   You can't save the configuration until the `objecttype` field value and the ID [metadata](https://docs.coveo.com/en/218.md) key are set for every object type in the structure.

1. Click **Save**.

   The **Review configuration changes** dialog lists each object type you added or removed, what the change means for your implementation, and every catalog entity the change affects.

1. Review the summary, and then click **Apply changes**.

1. When you're done editing the configuration, you must [push your catalog data into the source](https://docs.coveo.com/en/p48b0322.md) once more.
This lets Coveo pick up the configuration changes and process your [catalog data](https://docs.coveo.com/en/obcf0333.md) accordingly.

> **WARNING**
>
> * Removing any object type deletes its saved settings and field mappings from the configuration, affecting all associated catalog entities.
> Your indexed [catalog data](https://docs.coveo.com/en/obcf0333.md) isn't modified, but you must configure the object type from scratch if you add it back later.
>
> * Removing availability also removes the purchasing and filtering rules that [availability channels](https://docs.coveo.com/en/mc7e9096.md) provide, so your products are no longer filtered by availability (see [Disable availability filtering](https://docs.coveo.com/en/nc7a8448.md)).

## Delete a commerce catalog configuration

> **Note**
>
> You can't delete a catalog configuration without first deleting the associated catalog entities.
> Once the associated catalog entity is deleted, the previously associated configuration will remain in your **Manage configurations** interface until it's manually deleted.

1. On the [**Catalogs**](https://platform.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/commerce/catalogs/)) page, click **Manage configurations**.

1. Click [delete] next to the configuration you want to delete.

## Required privileges

The following table indicates the [privileges](https://docs.coveo.com/en/228.md) required for your [organization](https://docs.coveo.com/en/185.md)’s [groups](https://docs.coveo.com/en/2867.md) to view or edit elements of the [**Catalogs**](https://platform.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/commerce/catalogs/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/commerce/catalogs/)) page and its associated panels (see [Manage privileges](https://docs.coveo.com/en/3151.md) and [Privilege reference](https://docs.coveo.com/en/1707.md)).
The **Commerce** service is only available to [organizations](https://docs.coveo.com/en/185.md) in which Coveo for Commerce features are enabled.

| Action | Service | Domain | Required access level | View catalogs | Commerce | Catalogs | View |
|---|---|---|---|---|---|---|---|
| Content | Fields | View |  | View catalogs |  |  |  |
| Content | Sources | View |  | View catalogs |  |  |  |
| Organization | Organization | View |  | View catalogs |  |  |  |
| Edit catalogs | Commerce | Catalogs | Edit |  |  |  |  |
| Edit catalogs | Content | Fields | View |  |  |  |  |
| Edit catalogs | Content | Sources | View |  |  |  |  |
| Edit catalogs | Organization | Organization | View |  |  |  |  |
| Edit catalogs | Search | Execute queries | Allowed |  |  |  |  |

> **Note**
>
> Granting the **Edit** access level on a domain also implicitly grants **View** on that domain.

## What's next?

After configuring your catalog entity, you must associate it with the target [tracking ID](https://docs.coveo.com/en/o8rb0139.md) and [locale](https://docs.coveo.com/en/p4tf0351.md) (see [Storefront associations](https://docs.coveo.com/en/o48e0216.md)).