openapi: 3.0.1 info: title: Coveo Catalog Management API description: API for Coveo Platform termsOfService: https://www.coveo.com/en/support/terms-agreements contact: name: Coveo url: https://connect.coveo.com/s/discussions version: 1.0.0 servers: - url: https://platform.cloud.coveo.com description: Coveo public API endpoint security: - oauth2: - full paths: /rest/organizations/{organizationId}/catalogs/{catalogId}: get: tags: - Catalogs summary: Show Catalog description: 'Shows a [catalog](https://docs.coveo.com/en/3143/) in an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Catalogs - View

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"VIEW","targetId":"*"} ```
' operationId: getCatalog parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: catalogId in: path description: The unique identifier of the [catalog](https://docs.coveo.com/en/3143/) to show.
**Example:** `644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b` required: true schema: type: string format: uuid responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/CatalogModel' x-pretty-name: getCatalog x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogs/paramId_get put: tags: - Catalogs summary: Update Catalog description: 'Updates a [catalog](https://docs.coveo.com/en/3143/) in an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Catalogs - Edit

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"EDIT","targetId":"*"} ```
' operationId: updateCatalog parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: catalogId in: path description: The unique identifier of the [catalog](https://docs.coveo.com/en/3143/) to update.
**Example:** `644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b` required: true schema: type: string format: uuid requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateCatalogModel' required: true responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/CreateCatalogModel' x-pretty-name: updateCatalog x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogs/paramId_put delete: tags: - Catalogs summary: Delete Catalog description: 'Deletes a [catalog](https://docs.coveo.com/en/3143/) in an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Catalogs - Edit

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"EDIT","targetId":"*"} ```
' operationId: deleteCatalog parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: catalogId in: path description: The unique identifier of the [catalog](https://docs.coveo.com/en/3143/) to delete.
**Example:** `644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b` required: true schema: type: string format: uuid responses: '204': description: No Content - Catalog successfully deleted '400': description: Bad Request - The catalog is associated with a tracking ID to catalog mapping '404': description: Not Found - The catalog does not exist x-pretty-name: deleteCatalog x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogs/paramId_delete /rest/organizations/{organizationId}/catalogconfigurations/{configurationId}: get: tags: - Catalog Configurations summary: Show Catalog Configuration description: 'Shows a catalog configuration in an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Catalogs - View

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"VIEW","targetId":"*"} ```
' operationId: getCatalogConfiguration parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: configurationId in: path description: The unique identifier of the catalog configuration to show.
**Example:** `644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b` required: true schema: type: string format: uuid responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/CatalogConfigurationModelWithAssociatedCatalogs' x-pretty-name: getCatalogConfiguration x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogconfigurations/paramId_get put: tags: - Catalog Configurations summary: Update Catalog Configuration description: 'Updates a catalog configuration in an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Catalogs - Edit

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"EDIT","targetId":"*"} ```
' operationId: updateCatalogConfiguration parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: configurationId in: path description: The unique identifier of the catalog configuration to update.
**Example:** `644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b` required: true schema: type: string format: uuid requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateCatalogConfigurationModel' required: true responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/CatalogConfigurationModelWithAssociatedCatalogs' x-pretty-name: updateCatalogConfiguration x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogconfigurations/paramId_put delete: tags: - Catalog Configurations summary: Delete Catalog Configuration description: 'Deletes a catalog configuration in an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Catalogs - Edit

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"EDIT","targetId":"*"} ```
' operationId: deleteCatalogConfiguration parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: configurationId in: path description: The unique identifier of the catalog configuration to delete.
**Example:** `644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b` required: true schema: type: string format: uuid responses: '204': description: No Content x-pretty-name: deleteCatalogConfiguration x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogconfigurations/paramId_delete /api/preview/organizations/{organizationId}/catalog-management/catalogs/{catalogId}/view-definitions: get: tags: - View Definitions summary: Get View Definitions for a Catalog description: 'Retrieves the view definitions for a specific catalog.

**Required privilege:** Catalogs - View

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"VIEW","targetId":"*"} ```
' operationId: getViewDefinitions parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: catalogId in: path description: The unique identifier of the [catalog](https://docs.coveo.com/en/3143/). required: true schema: type: string format: uuid responses: '200': description: View definitions retrieved successfully content: '*/*': schema: $ref: '#/components/schemas/ViewDefinitionsModel' '404': description: Organization or catalog not found content: '*/*': schema: $ref: '#/components/schemas/ViewDefinitionsModel' x-pretty-name: getViewDefinitions x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-ui-operation-id: /api/preview/organizations/paramId/catalog-management/catalogs/paramId/view-definitions_get put: tags: - View Definitions summary: Update View Definitions for a Catalog description: 'Updates the view definitions for a specific catalog. This replaces all existing view definitions.

**Required privilege:** Catalogs - Edit

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"EDIT","targetId":"*"} ```
' operationId: putViewDefinitions parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: catalogId in: path description: The unique identifier of the [catalog](https://docs.coveo.com/en/3143/). required: true schema: type: string format: uuid requestBody: content: application/json: schema: $ref: '#/components/schemas/ViewDefinitionsModel' required: true responses: '200': description: View definitions updated successfully content: '*/*': schema: $ref: '#/components/schemas/ViewDefinitionsModel' '404': description: Organization or catalog not found content: '*/*': schema: $ref: '#/components/schemas/ViewDefinitionsModel' x-pretty-name: putViewDefinitions x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-ui-operation-id: /api/preview/organizations/paramId/catalog-management/catalogs/paramId/view-definitions_put /api/preview/organizations/{organizationId}/catalog-management/catalogs/{catalogId}/filter: get: tags: - Catalog Filter summary: Get Filter for a Catalog description: 'Retrieves the filter for a specific catalog.

**Required privilege:** Catalogs - View

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"VIEW","targetId":"*"} ```
' operationId: getCatalogFilter parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: catalogId in: path description: The unique identifier of the [catalog](https://docs.coveo.com/en/3143/). required: true schema: type: string format: uuid responses: '200': description: Catalog filter retrieved successfully content: '*/*': schema: $ref: '#/components/schemas/CatalogFilterModel' '404': description: Organization or catalog not found content: '*/*': schema: $ref: '#/components/schemas/CatalogFilterModel' '412': description: Catalog filters feature is unavailable content: '*/*': schema: $ref: '#/components/schemas/CatalogFilterModel' x-pretty-name: getCatalogFilter x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-ui-operation-id: /api/preview/organizations/paramId/catalog-management/catalogs/paramId/filter_get put: tags: - Catalog Filter summary: Create or Update the Filter for a Catalog description: 'Creates or updates the filter for a specific catalog.

**Required privilege:** Catalogs - Edit

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"EDIT","targetId":"*"} ```
' operationId: putCatalogFilter parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: catalogId in: path description: The unique identifier of the [catalog](https://docs.coveo.com/en/3143/). required: true schema: type: string format: uuid requestBody: content: application/json: schema: $ref: '#/components/schemas/CatalogFilterModel' required: true responses: '200': description: Catalog filter updated successfully content: '*/*': schema: $ref: '#/components/schemas/CatalogFilterModel' '404': description: Organization or catalog not found content: '*/*': schema: $ref: '#/components/schemas/CatalogFilterModel' '412': description: Precondition failed. Check the error message. content: '*/*': schema: $ref: '#/components/schemas/CatalogFilterModel' x-pretty-name: putCatalogFilter x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-ui-operation-id: /api/preview/organizations/paramId/catalog-management/catalogs/paramId/filter_put /rest/organizations/{organizationId}/catalogs: get: tags: - Catalogs summary: List Catalogs description: 'Lists the [catalogs](https://docs.coveo.com/en/3143/) of an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Catalogs - View

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"VIEW","targetId":"*"} ```
' operationId: getCatalogs parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: filter in: query description: Filter that will be matched against the catalog id, name, description and its configuration name..
**Example:** `catalogName` required: false schema: type: string - name: catalogIds in: query description: List of the unique identifiers of the [catalog](https://docs.coveo.com/en/3143/) to show.
**Example:** `[644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b]` required: false schema: type: array items: type: string format: uuid - name: sourceIds in: query description: List of the unique identifiers of the sources required: false schema: type: array items: type: string - name: page in: query description: The 0-based index number of the page of catalogs to retrieve.
**Minimum:** `0`
**Default:** `0` required: false schema: minimum: 0 type: integer format: int32 default: 0 - name: pageSize in: query description: The number of catalogs to list per page.
**Minimum:** `1`
**Maximum:** `1000`
**Default:** `10` required: false schema: maximum: 1000 minimum: 1 type: integer format: int32 default: 10 - name: enrichWithFields in: query description: If true, catalog will be enriched with field suggestions. This requires a call to SearchAPI required: false schema: type: boolean default: true - name: catalogSortingType in: query description: The field to sort the returned catalogs by.
**Default:** `name` required: false schema: type: string default: NAME enum: - NAME - name: sortingDirection in: query description: The `sortingType` order to list the catalogs in.
**Default:** `ASC` required: false schema: type: string default: ASC enum: - ASC - DESC responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/CommercePageModelCatalogModel' x-pretty-name: getCatalogs x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogs_get post: tags: - Catalogs summary: Create Catalog description: 'Creates a [catalog](https://docs.coveo.com/en/3143/) in an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Catalogs - Edit

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"EDIT","targetId":"*"} ```
' operationId: createCatalog parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateCatalogV1Model' required: true responses: '201': description: Created content: '*/*': schema: $ref: '#/components/schemas/CreateCatalogModel' x-pretty-name: createCatalog x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogs_post /rest/organizations/{organizationId}/catalogs/ids: post: tags: - Catalogs summary: List Catalogs Using Catalog Ids as a Body for Filtering. description: 'Lists the [catalogs](https://docs.coveo.com/en/3143/) of an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Catalogs - View

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"VIEW","targetId":"*"} ```
' operationId: getCatalogsWithIdsBody parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: filter in: query description: Filter that will be matched against the catalog id, name, description and its configuration name..
**Example:** `catalogName` required: false schema: type: string - name: sourceIds in: query description: List of the unique identifiers of the sources required: false schema: type: array items: type: string - name: page in: query description: The 0-based index number of the page of catalogs to retrieve.
**Minimum:** `0`
**Default:** `0` required: false schema: minimum: 0 type: integer format: int32 default: 0 - name: pageSize in: query description: The number of catalogs to list per page.
**Minimum:** `1`
**Maximum:** `1000`
**Default:** `10` required: false schema: maximum: 1000 minimum: 1 type: integer format: int32 default: 10 requestBody: content: application/json: schema: type: array items: type: string format: uuid required: true responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/CommercePageModelCatalogModel' x-pretty-name: getCatalogsWithIdsBody x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogs/ids_post /rest/organizations/{organizationId}/catalogs/fieldsSuggestions: post: tags: - Catalogs summary: Suggest Fields description: 'Shows suggested fields and sample values for mapping in an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Execute Query

Privilege required ``` {"owner":"SEARCH_API","targetDomain":"EXECUTE_QUERY","targetId":"*"} ```
' operationId: getFieldsSuggestions parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/FieldsSuggestionsQueryModel' required: true responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/FieldsSuggestionsModel' x-pretty-name: getFieldsSuggestions x-required-privilege: owner: SEARCH_API targetDomain: EXECUTE_QUERY targetId: '*' x-required-privileges: - owner: SEARCH_API targetDomain: EXECUTE_QUERY targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogs/fieldsSuggestions_post /rest/organizations/{organizationId}/catalogconfigurations: get: tags: - Catalog Configurations summary: List Catalog Configurations description: 'Lists the catalog configuration of an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Catalogs - View

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"VIEW","targetId":"*"} ```
' operationId: getCatalogConfigurations parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: page in: query description: The 0-based index number of the page of catalog configurations to retrieve.
**Minimum:** `0`
**Default:** `0` required: false schema: minimum: 0 type: integer format: int32 default: 0 - name: pageSize in: query description: The number of catalog configurations to list per page.
**Minimum:** `1`
**Maximum:** `1000`
**Default:** `10` required: false schema: maximum: 1000 minimum: 1 type: integer format: int32 default: 10 responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/CommercePageModelCatalogConfigurationModelWithAssociatedCatalogs' x-pretty-name: getCatalogConfigurations x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogconfigurations_get post: tags: - Catalog Configurations summary: Create Configuration description: 'Creates a catalog configuration in an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Catalogs - Edit

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"EDIT","targetId":"*"} ```
' operationId: createCatalogConfiguration parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateCatalogConfigurationV1Model' required: true responses: '201': description: Created content: '*/*': schema: $ref: '#/components/schemas/CreateCatalogConfigurationModel' x-pretty-name: createCatalogConfiguration x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: EDIT targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogconfigurations_post /rest/organizations/{organizationId}/catalogs/{catalogId}/fieldStats: get: tags: - Catalogs summary: Show Field Stats description: 'Retrieve statistics about the usage of fields by objects in the catalog''s source.

**Required privilege:** Catalogs - View

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"VIEW","targetId":"*"} ```
' operationId: getFieldStats parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: catalogId in: path description: The unique identifier of the [catalog](https://docs.coveo.com/en/3143/). required: true schema: type: string format: uuid - name: forceRefresh in: query description: If true, the database cache will be refreshed and the most up-to-date fields data returned. required: false schema: type: boolean default: false responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/CachedFieldStats' x-pretty-name: getFieldStats x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogs/paramId/fieldStats_get /rest/organizations/{organizationId}/catalogs/project: get: tags: - Catalogs summary: List Catalogs Within Specified Project and According to the Specified Filter. description: 'Lists the [catalogs](https://docs.coveo.com/en/3143/) of an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Catalogs - View

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"VIEW","targetId":"*"} ```
' operationId: getCatalogsWithProjectId parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: filter in: query description: Filter that will be matched against the catalog id, name, description and its configuration name..
**Example:** `catalogName` required: false schema: type: string - name: projectId in: query description: Id of the project for which we want to retrieve the catalogs required: false schema: type: string - name: sourceIds in: query description: List of the unique identifiers of the sources required: false schema: type: array items: type: string - name: page in: query description: The 0-based index number of the page of catalogs to retrieve.
**Minimum:** `0`
**Default:** `0` required: false schema: minimum: 0 type: integer format: int32 default: 0 - name: pageSize in: query description: The number of catalogs to list per page.
**Minimum:** `1`
**Maximum:** `1000`
**Default:** `10` required: false schema: maximum: 1000 minimum: 1 type: integer format: int32 default: 10 - name: enrichWithFields in: query description: If true, catalog will be enriched with field suggestions. This requires a call to SearchAPI required: false schema: type: boolean default: true - name: catalogSortingType in: query description: The field to sort the returned catalogs by.
**Default:** `name` required: false schema: type: string default: NAME enum: - NAME - name: sortingDirection in: query description: The `sortingType` order to list the catalogs in.
**Default:** `ASC` required: false schema: type: string default: ASC enum: - ASC - DESC responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/CommercePageModelCatalogModel' x-pretty-name: getCatalogsWithProjectId x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogs/project_get /rest/organizations/{organizationId}/catalogconfigurations/source/{sourceId}: get: tags: - Catalog Configurations summary: Show Catalog Configuration from a Source ID description: 'Shows a catalog configurationfrom a Source Id in an [organization](https://docs.coveo.com/en/185/).

**Required privilege:** Catalogs - View

Privilege required ``` {"owner":"COMMERCE","targetDomain":"CATALOG","type":"VIEW","targetId":"*"} ```
' operationId: getCatalogConfigurationFromSource parameters: - name: organizationId in: path description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3` required: true schema: type: string - name: sourceId in: path description: A source containing the product content of the catalog required: true schema: type: string responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/CatalogIdAndConfigurationModel' x-pretty-name: getCatalogConfigurationFromSource x-required-privilege: owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-required-privileges: - owner: COMMERCE targetDomain: CATALOG type: VIEW targetId: '*' x-ui-operation-id: /rest/organizations/paramId/catalogconfigurations/source/paramId_get components: schemas: CreateAvailabilityHierarchyModel: required: - availableSkusField - objectType type: object properties: objectType: maxLength: 255 minLength: 1 type: string description: The `objecttype` [field](https://docs.coveo.com/200/) value that marks an indexed [item](https://docs.coveo.com/210/) as a representation of an _availability channel_ in the catalog. example: Store idField: maxLength: 255 minLength: 1 pattern: '[a-z][a-z0-9_]*' type: string description: The name of a [field](https://docs.coveo.com/200/) that provides a unique identifier for each indexed [item](https://docs.coveo.com/210/) marked as a representation of a _product_ in the catalog. example: productid availableSkusField: maxLength: 255 minLength: 1 pattern: '[a-z][a-z0-9_]*' type: string description: The name of a multi-value [field](https://docs.coveo.com/200/) that lists the available SKUs of each indexed [item](https://docs.coveo.com/210/) marked as a representation of an _availability channel_ in the catalog. example: availableskus description: '[Deprecated - use `configuration.availability` instead]. The configuration that allows indexed [items](https://docs.coveo.com/210/) representing distinct _variants_ in the catalog to be identified as such.' CreateCatalogConfigurationModel: required: - name - product type: object properties: id: type: string description: The unique identifier of the catalog configuration. format: uuid readOnly: true example: 644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b name: maxLength: 50 minLength: 1 type: string description: A name for the configuration. example: ACME Configuration product: $ref: '#/components/schemas/CreateProductHierarchyModel' variant: $ref: '#/components/schemas/CreateVariantHierarchyModel' availability: $ref: '#/components/schemas/CreateAvailabilityHierarchyModel' fieldsMapping: type: object additionalProperties: type: string description: The standard fields mapping for the configuration example: '{"ec_name":"title","ec_price":"prix"}' description: The standard fields mapping for the configuration example: ec_name: title ec_price: prix availabilityFilterStrategy: type: string description: Strategy for filtering availabilities when executing a search.
**Default:** `ALWAYS`
The current supported strategies are `ALWAYS` and `WHEN_SPECIFIED`.
`ALWAYS` will perform the search filtering by availabilities and it will only return items with availabilities.
`WHEN_SPECIFIED` will only perform the search filtering by availabilities if an availabilityId is specified in the query, otherwise it won't filter by availabilities and it will return all items. enum: - ALWAYS - WHEN_SPECIFIED description: The catalog configuration to update. CreateCatalogModel: required: - name - sourceId type: object properties: id: type: string description: The unique identifier of the catalog. Ignored when included in the body of a POST or PUT request. format: uuid example: 644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b name: maxLength: 50 minLength: 1 type: string description: A unique name for the catalog. example: ACME Corp Full Catalog description: maxLength: 255 minLength: 0 type: string description: A textual description of the catalog. example: Allows all products offered by the ACME Corporation to be represented configuration: $ref: '#/components/schemas/CreateCatalogConfigurationModel' sourceId: minLength: 1 type: string description: A source containing the product content of the catalog example: acmecorporation8tp8wu3-qwpdaajjq3ahak5wlq7adhciuq availabilitySourceId: type: string description: A source containing the availability objects for the catalog example: acmecorporation8tp8wu3-wj6vgp4x7ov6mfaw5a0w3dnve catalogConfigurationId: type: string description: The unique identifier of the catalog configuration. format: uuid example: 644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b description: The [catalog](https://docs.coveo.com/en/3143/) to update. CreateProductHierarchyModel: required: - idField - objectType type: object properties: objectType: maxLength: 255 minLength: 1 type: string description: The `objecttype` [field](https://docs.coveo.com/200/) value that marks an indexed [item](https://docs.coveo.com/210/) as a representation of a _product_ in the catalog. example: Product idField: maxLength: 255 minLength: 1 type: string description: The name of a [field](https://docs.coveo.com/200/) that provides a unique identifier for each indexed [item](https://docs.coveo.com/210/) marked as a representation of a _product_ in the catalog. example: productid description: '[Deprecated - use `configuration.product` instead]. The configuration that allows indexed [items](https://docs.coveo.com/210/)representing distinct _products_ in the catalog to be identified as such.' CreateVariantHierarchyModel: required: - idField - objectType type: object properties: objectType: maxLength: 255 minLength: 1 type: string description: The `objecttype` [field](https://docs.coveo.com/200/) value that marks an indexed [item](https://docs.coveo.com/210/) as a representation of a _variant_ in the catalog. example: Variant idField: maxLength: 255 minLength: 1 pattern: '[a-z][a-z0-9_]*' type: string description: The name of a [field](https://docs.coveo.com/200/) that provides a unique identifier for each indexed [item](https://docs.coveo.com/210/) marked as a representation of a _variant_ in the catalog. example: sku description: '[Deprecated - use `configuration.variant` instead]. The configuration that allows indexed [items](https://docs.coveo.com/210/) representing distinct _variants_ in the catalog to be identified as such.' CatalogConfigurationModelWithAssociatedCatalogs: required: - name - product type: object properties: id: type: string description: The unique identifier of the catalog configuration. format: uuid readOnly: true example: 644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b name: maxLength: 50 minLength: 1 type: string description: A name for the configuration. example: ACME Configuration product: $ref: '#/components/schemas/CreateProductHierarchyModel' variant: $ref: '#/components/schemas/CreateVariantHierarchyModel' availability: $ref: '#/components/schemas/CreateAvailabilityHierarchyModel' fieldsMapping: type: object additionalProperties: type: string description: The standard fields mapping for the configuration example: '{"ec_name":"title","ec_price":"prix"}' description: The standard fields mapping for the configuration example: ec_name: title ec_price: prix availabilityFilterStrategy: type: string description: Strategy for filtering availabilities when executing a search.
**Default:** `ALWAYS`
The current supported strategies are `ALWAYS` and `WHEN_SPECIFIED`.
`ALWAYS` will perform the search filtering by availabilities and it will only return items with availabilities.
`WHEN_SPECIFIED` will only perform the search filtering by availabilities if an availabilityId is specified in the query, otherwise it won't filter by availabilities and it will return all items. enum: - ALWAYS - WHEN_SPECIFIED associatedCatalogs: type: array description: The catalogs associated to the configuration items: $ref: '#/components/schemas/CatalogIdentityModelWithSources' CatalogIdentityModelWithSources: required: - name type: object properties: id: type: string description: The unique identifier of the catalog. Ignored when included in the body of a POST or PUT request. format: uuid example: 644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b name: maxLength: 50 minLength: 1 type: string description: A unique name for the catalog. example: ACME Corp Full Catalog sourceId: type: string description: A source containing the product content of the catalog example: acmecorporation8tp8wu3-qwpdaajjq3ahak5wlq7adhciuq availabilitySourceId: type: string description: A source containing the availability objects for the catalog example: acmecorporation8tp8wu3-wj6vgp4x7ov6mfaw5a0w3dnve description: The catalogs associated to the configuration ViewDefinitionEntry: type: object properties: field: type: string key: type: string ViewDefinitionsModel: required: - viewDefinitions type: object properties: viewDefinitions: maxItems: 50 minItems: 0 uniqueItems: true type: array items: $ref: '#/components/schemas/ViewDefinitionEntry' CatalogFilterEntry: required: - field - value type: object properties: field: minLength: 1 type: string value: minLength: 1 type: string CatalogFilterModel: type: object properties: filter: $ref: '#/components/schemas/CatalogFilterEntry' CreateCatalogV1Model: required: - name - sourceId type: object properties: name: maxLength: 50 minLength: 1 type: string example: ACME Corp Full Catalog description: maxLength: 255 minLength: 0 type: string example: Allows all products offered by the ACME Corporation to be represented configuration: $ref: '#/components/schemas/CreateCatalogConfigurationModel' sourceId: minLength: 1 type: string example: acmecorporation8tp8wu3-qwpdaajjq3ahak5wlq7adhciuq availabilitySourceId: type: string example: acmecorporation8tp8wu3-wj6vgp4x7ov6mfaw5a0w3dnve catalogConfigurationId: type: string format: uuid example: 644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b description: The [catalog](https://docs.coveo.com/en/3143/) to create. AvailabilityHierarchyModel: required: - availableSkusField - objectType type: object properties: objectType: maxLength: 255 minLength: 1 type: string description: The `objecttype` [field](https://docs.coveo.com/200/) value that marks an indexed [item](https://docs.coveo.com/210/) as a representation of an _availability channel_ in the catalog. example: Store idField: maxLength: 255 minLength: 1 pattern: '[a-z][a-z0-9_]*' type: string description: The name of a [field](https://docs.coveo.com/200/) that provides a unique identifier for each indexed [item](https://docs.coveo.com/210/) marked as a representation of a _product_ in the catalog. example: productid availableSkusField: maxLength: 255 minLength: 1 pattern: '[a-z][a-z0-9_]*' type: string description: The name of a multi-value [field](https://docs.coveo.com/200/) that lists the available SKUs of each indexed [item](https://docs.coveo.com/210/) marked as a representation of an _availability channel_ in the catalog. example: availableskus fields: uniqueItems: true type: array description: The [fields](https://docs.coveo.com/200/) that are folded when performing a [nested query](https://docs.coveo.com/220/) for _availability channels_. In a [search interface](https://docs.coveo.com/2741/), a [facet](https://docs.coveo.com/198/) based on any of those fields transforms its [`aq`](https://docs.coveo.com/175/) override to match _availability channels_ rather than _products_. example: - storeid - city items: type: string description: The [fields](https://docs.coveo.com/200/) that are folded when performing a [nested query](https://docs.coveo.com/220/) for _availability channels_. In a [search interface](https://docs.coveo.com/2741/), a [facet](https://docs.coveo.com/198/) based on any of those fields transforms its [`aq`](https://docs.coveo.com/175/) override to match _availability channels_ rather than _products_. example: '["storeid","city"]' description: '[Deprecated - use `configuration.availability` instead]. The configuration that allows indexed [items](https://docs.coveo.com/210/) representing distinct _variants_ in the catalog to be identified as such.' CatalogConfigurationModel: required: - name - product type: object properties: id: type: string description: The unique identifier of the catalog configuration. format: uuid readOnly: true example: 644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b name: maxLength: 50 minLength: 1 type: string description: A name for the configuration. example: ACME Configuration product: $ref: '#/components/schemas/ProductHierarchyModel' variant: $ref: '#/components/schemas/VariantHierarchyModel' availability: $ref: '#/components/schemas/AvailabilityHierarchyModel' fieldsMapping: type: object additionalProperties: type: string description: The standard fields mapping for the configuration example: '{"ec_name":"title","ec_price":"prix"}' description: The standard fields mapping for the configuration example: ec_name: title ec_price: prix availabilityFilterStrategy: type: string description: Strategy for filtering availabilities when executing a search.
**Default:** `ALWAYS`
The current supported strategies are `ALWAYS` and `WHEN_SPECIFIED`.
`ALWAYS` will perform the search filtering by availabilities and it will only return items with availabilities.
`WHEN_SPECIFIED` will only perform the search filtering by availabilities if an availabilityId is specified in the query, otherwise it won't filter by availabilities and it will return all items. enum: - ALWAYS - WHEN_SPECIFIED description: The catalog configuration. CatalogModel: required: - configuration - name - sourceId type: object properties: id: type: string description: The unique identifier of the catalog. Ignored when included in the body of a POST or PUT request. format: uuid example: 644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b name: maxLength: 50 minLength: 1 type: string description: A unique name for the catalog. example: ACME Corp Full Catalog description: maxLength: 255 minLength: 0 type: string description: A textual description of the catalog. example: Allows all products offered by the ACME Corporation to be represented configuration: $ref: '#/components/schemas/CatalogConfigurationModel' sourceId: minLength: 1 type: string description: A source containing the product content of the catalog example: acmecorporation8tp8wu3-qwpdaajjq3ahak5wlq7adhciuq availabilitySourceId: type: string description: A source containing the availability objects for the catalog example: acmecorporation8tp8wu3-wj6vgp4x7ov6mfaw5a0w3dnve catalogConfigurationId: type: string description: The unique identifier of the catalog configuration. format: uuid example: 644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b projectIds: type: array description: The list of project ids associated with the catalog. items: type: string description: The list of project ids associated with the catalog. description: The retrieved page of items. CommercePageModelCatalogModel: required: - items - totalEntries - totalPages type: object properties: items: type: array description: The retrieved page of items. items: $ref: '#/components/schemas/CatalogModel' totalEntries: type: integer description: The total number of results that match the query. format: int64 totalPages: type: integer description: The total number of pages of items available. format: int32 description: Page ProductHierarchyModel: required: - idField - objectType type: object properties: objectType: maxLength: 255 minLength: 1 type: string description: The `objecttype` [field](https://docs.coveo.com/200/) value that marks an indexed [item](https://docs.coveo.com/210/) as a representation of a _product_ in the catalog. example: Product idField: maxLength: 255 minLength: 1 type: string description: The name of a [field](https://docs.coveo.com/200/) that provides a unique identifier for each indexed [item](https://docs.coveo.com/210/) marked as a representation of a _product_ in the catalog. example: productid fields: uniqueItems: true type: array description: The [fields](https://docs.coveo.com/200/) that only seen on _products_ objects in the catalog. example: - color - size items: type: string description: The [fields](https://docs.coveo.com/200/) that only seen on _products_ objects in the catalog. example: '["color","size"]' description: '[Deprecated - use `configuration.product` instead]. The configuration that allows indexed [items](https://docs.coveo.com/210/)representing distinct _products_ in the catalog to be identified as such.' VariantHierarchyModel: required: - idField - objectType type: object properties: objectType: maxLength: 255 minLength: 1 type: string description: The `objecttype` [field](https://docs.coveo.com/200/) value that marks an indexed [item](https://docs.coveo.com/210/) as a representation of a _variant_ in the catalog. example: Variant idField: maxLength: 255 minLength: 1 pattern: '[a-z][a-z0-9_]*' type: string description: The name of a [field](https://docs.coveo.com/200/) that provides a unique identifier for each indexed [item](https://docs.coveo.com/210/) marked as a representation of a _variant_ in the catalog. example: sku fields: uniqueItems: true type: array description: The [fields](https://docs.coveo.com/200/) that are folded when performing a [nested query](https://docs.coveo.com/220/) for _variants_. In a [search interface](https://docs.coveo.com/2741/), a [facet](https://docs.coveo.com/198/) based on any of those fields transforms its [`aq`](https://docs.coveo.com/175/) override to match _variants_ rather than _products_. example: - color - size items: type: string description: The [fields](https://docs.coveo.com/200/) that are folded when performing a [nested query](https://docs.coveo.com/220/) for _variants_. In a [search interface](https://docs.coveo.com/2741/), a [facet](https://docs.coveo.com/198/) based on any of those fields transforms its [`aq`](https://docs.coveo.com/175/) override to match _variants_ rather than _products_. example: '["color","size"]' description: '[Deprecated - use `configuration.variant` instead]. The configuration that allows indexed [items](https://docs.coveo.com/210/) representing distinct _variants_ in the catalog to be identified as such.' FieldsSuggestionsQueryModel: required: - productObjectType - sourceNames type: object properties: sourceNames: minItems: 1 uniqueItems: true type: array description: A list of source names containing the product content of the catalog items: type: string description: A list of source names containing the product content of the catalog availabilitySourceNames: uniqueItems: true type: array description: A list of source names containing the availability objects for the catalog items: type: string description: A list of source names containing the availability objects for the catalog productObjectType: minLength: 1 type: string description: Product objecttype type variantObjectType: type: string description: Variant objecttype type availabilityObjectType: type: string description: Availability objecttype type description: The fields suggestions query to be executed FieldSuggestionsModel: type: object properties: name: type: string description: The field name. examples: uniqueItems: true type: array description: The field examples. items: type: object description: The field examples. objectTypes: uniqueItems: true type: array description: The field object types. items: type: string description: The field object types. description: The list of fields suggestions. FieldsSuggestionsModel: type: object properties: fields: type: array description: The list of fields suggestions. items: $ref: '#/components/schemas/FieldSuggestionsModel' CreateCatalogConfigurationV1Model: required: - name - product type: object properties: name: maxLength: 50 minLength: 1 type: string example: ACME Configuration product: $ref: '#/components/schemas/CreateProductHierarchyModel' variant: $ref: '#/components/schemas/CreateVariantHierarchyModel' availability: $ref: '#/components/schemas/CreateAvailabilityHierarchyModel' fieldsMapping: type: object additionalProperties: type: string example: '{"ec_name":"title","ec_price":"prix"}' example: ec_name: title ec_price: prix availabilityFilterStrategy: type: string description: Strategy for filtering availabilities when executing a search.
**Default:** `ALWAYS`
The current supported strategies are `ALWAYS` and `WHEN_SPECIFIED`.
`ALWAYS` will perform the search filtering by availabilities and it will only return items with availabilities.
`WHEN_SPECIFIED` will only perform the search filtering by availabilities if an availabilityId is specified in the query, otherwise it won't filter by availabilities and it will return all items. enum: - ALWAYS - WHEN_SPECIFIED description: The catalog configuration to create. CachedFieldStats: required: - lastUpdated - nextUpdate type: object properties: fieldStats: type: array description: Collection of statistics about the usage of fields by a catalog items: $ref: '#/components/schemas/FieldStatsModel' lastUpdated: type: string description: The date at which the cached item was last refreshed in number of milliseconds since UNIX epoch. format: date-time nextUpdate: type: string description: The date at which the cached item will next be refreshed in number of milliseconds since UNIX epoch. format: date-time FieldStatsItemModel: type: object properties: objectsWithField: type: integer description: Number of objects with this field format: int32 example: 9 objectsWithType: type: integer description: Number of objects with this type format: int32 example: 100 description: Availability stats FieldStatsModel: type: object properties: fieldName: type: string description: Name of the field example: ec_brand product: $ref: '#/components/schemas/FieldStatsItemModel' variant: $ref: '#/components/schemas/FieldStatsItemModel' availability: $ref: '#/components/schemas/FieldStatsItemModel' description: Collection of statistics about the usage of fields by a catalog CommercePageModelCatalogConfigurationModelWithAssociatedCatalogs: required: - items - totalEntries - totalPages type: object properties: items: type: array description: The retrieved page of items. items: $ref: '#/components/schemas/CatalogConfigurationModelWithAssociatedCatalogs' totalEntries: type: integer description: The total number of results that match the query. format: int64 totalPages: type: integer description: The total number of pages of items available. format: int32 description: Page CatalogIdAndConfigurationModel: type: object properties: catalogId: type: string description: The unique identifier of the catalog. Ignored when included in the body of a POST or PUT request. format: uuid example: 644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b catalogConfiguration: $ref: '#/components/schemas/CatalogConfigurationModel' securitySchemes: oauth2: type: oauth2 flows: authorizationCode: authorizationUrl: https://platform.cloud.coveo.com/oauth/authorize tokenUrl: https://platform.cloud.coveo.com/oauth/token scopes: full: required