Catalog management
Was this helpful?
Was this helpful?
Manage catalogs
Get the catalog with the specified unique id that belongs to the tenant.
Your Emporix tenant's name. Note: The tenant should always be written in lowercase.
saasdev2
The unique id of the catalog.
787323
Your Emporix tenant's name. Note: The tenant should always be written in lowercase.
saasdev2
The unique id of the catalog.
787323
No content
Get the filtered list of catalogs for the specified tenant. Also, sorting and paging options are available. If none are given, default values will be used.
Your Emporix tenant's name. Note: The tenant should always be written in lowercase.
saasdev2
Search by the name of the catalog.
If you want to search for the name in a specific locale, you can just append the .<locale>
, for example use name.de
.
name
Search by description of the catalog.
If you want to search for the name in a specific locale, you can just append the .<locale>
, for example use description.de
.
description
Search by a site name. The equal
operator is used here, therefore the site name must match.
Search by start date of the visibility of the catalog. It must follow the pattern yyyy-MM-dd.
2022-01-28
Search by end date of the visibility of the catalog. It must follow the pattern yyyy-MM-dd.
2022-01-28
Search by last update date of the catalog. It must follow the pattern yyyy-MM-dd.
2022-01-28
Page number to be retrieved. The number of the first page is 1.
Note: If the pageNumber
parameter is passed, size of the pages must be specified in the pageSize
parameter.
1
Number of catalogs to be retrieved per page.
60
Fields to sort the response data by following order of the parameters from left to right.
Can contain multiple fields in format: field name
:sort direction
separated by a comma.
The colon with sort direction
parameter is redundant and descending order is taken only
if it is equal to desc
or DESC
.
Ascending order is considered in any other case.
Sorting by name
parameter works properly only if the Accept-Language
header is set to
a specific language or is empty with default language specified in the configuration service.
name,description:asc
This flag specifies if the API client should receive a X-Total-Count header with the total number of elements that match the search filter.
false
List of properties used to sort the results, separated by commas. Possible values:
*
- each internationalized field is returned as a map containing all available translationsen
, en,de
- each internationalized field is returned as a map containing translation specified by a header value. If translation is not supported by tenant configuration then exception is thrown. First language is the one with highest priority.fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5
- each internationalized field is returned as a map containing translation specified by a header value. If translation is not available exception is thrown. This list must contains any possible extension for internationalized fields included in sort param.*
Example: *, 'en', 'en,de,fr', 'en-EN', 'fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5'
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
saasdev2
Payload for creating a new catalog
Custom catalog identifier. If not provided, it is automatically generated.
^[a-zA-Z0-9_-]$
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.
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.
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.
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.
List of site identifiers on which the catalog is published.
List of root category identifiers that are assigned to the catalog.
Your Emporix tenant's name. Note: The tenant should always be written in lowercase.
saasdev2
The unique id of the catalog.
787323
Payload for updating a catalog.
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.
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.
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.
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.
List of site identifiers on which the catalog is published.
List of root category identifiers that are assigned to the catalog.
Your Emporix tenant's name. Note: The tenant should always be written in lowercase.
saasdev2
The unique id of the catalog.
787323
Payload for partially updating a catalog.
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.
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.
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.
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.
List of site identifiers on which the catalog is published.
List of root category identifiers that are assigned to the catalog.
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.