Catalog management

Manage catalogs

Creating a catalog

post

Creates a new catalog based on the provided request payload, for the specified tenant.


Required scopes

catalog.catalog_manage

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : Manage catalog
  • : View catalog
Path parameters
tenantstringRequired

Your Emporix tenant's name.

Note: The tenant should always be written in lowercase.

Example: saasdev2
Body

Payload for creating a new catalog

idstring · min: 1 · max: 66Optional

Custom catalog identifier. If not provided, it is automatically generated.

Pattern: ^[a-zA-Z0-9_-]$
nameone ofRequired

Name of the catalog must be a string if the Content-Language header is set or a map of translations if the header is missing.

stringOptional
or
descriptionone ofOptional

Description of the catalog must be a string if the Content-Language header is set or a map of translations if the header is missing.

stringOptional
or
publishedSitesstring[]Optional

List of site identifiers on which the catalog is published.

categoryIdsstring[]Optional

List of root category identifiers that are assigned to the catalog.

Responses
post
/catalog/{tenant}/catalogs

Upserting a catalog

put

Update or create the specified catalog.


Required scopes

catalog.catalog_manage

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : Manage catalog
  • : View catalog
Path parameters
tenantstringRequired

Your Emporix tenant's name. Note: The tenant should always be written in lowercase.

Example: saasdev2
catalogIdstringRequired

The unique id of the catalog.

Example: 787323
Body

Payload for updating a catalog.

nameone ofRequired

Name of the catalog must be a string if the Content-Language header is set or a map of translations if the header is missing.

stringOptional
or
descriptionone ofOptional

Description of the catalog must be a string if the Content-Language header is set or a map of translations if the header is missing.

stringOptional
or
publishedSitesstring[]Optional

List of site identifiers on which the catalog is published.

categoryIdsstring[]Optional

List of root category identifiers that are assigned to the catalog.

Responses
put
/catalog/{tenant}/catalogs/{catalogId}

Removing catalog

delete

Remove the specified catalog.


Required scopes

catalog.catalog_manage

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : Manage catalog
  • : View catalog
Path parameters
tenantstringRequired

Your Emporix tenant's name. Note: The tenant should always be written in lowercase.

Example: saasdev2
catalogIdstringRequired

The unique id of the catalog.

Example: 787323
Responses
delete
/catalog/{tenant}/catalogs/{catalogId}

No content

Partially updating a catalog

patch

Update the specified catalog, even partially.


Required scopes

catalog.catalog_manage

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : Manage catalog
  • : View catalog
Path parameters
tenantstringRequired

Your Emporix tenant's name. Note: The tenant should always be written in lowercase.

Example: saasdev2
catalogIdstringRequired

The unique id of the catalog.

Example: 787323
Body

Payload for partially updating a catalog.

nameone ofOptional

Name of the catalog must be a string if the Content-Language header is set or a map of translations if the header is missing.

stringOptional
or
descriptionone ofOptional

Description of the catalog must be a string if the Content-Language header is set or a map of translations if the header is missing.

stringOptional
or
publishedSitesstring[]Optional

List of site identifiers on which the catalog is published.

categoryIdsstring[]Optional

List of root category identifiers that are assigned to the catalog.

Responses
patch
/catalog/{tenant}/catalogs/{catalogId}

Last updated

Was this helpful?