Download OpenAPI specification:Download
The Catalog Management API gives you the tools required to structure your product offering the way it suites you best.
It provides the following capabilities and operations:
Structuring your products:
List your catalogs:
Localization
The name and the description attribute of a catalog support localization. This means that you can provide values in a specific locale and also retrieve those values either localized, or all together, as you choose.
Localization is controlled via two headers:
You can see detailed examples for the requests affected by this bellow.
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.
The search was successful.
Request was syntactically incorrect. Details will be provided in the response payload.
An unexpected error prevented the server from fulfilling the request.
[- {
- "id": "3456454",
- "name": {
- "en": "This is a catalog"
}, - "description": {
- "en": "This catalog is used as an example"
}, - "status": "VISIBLE",
- "visibility": {
- "visible": true,
- "from": "2022-02-24T20:44:43.169Z",
- "to": "2023-07-24T20:44:43.169Z"
}, - "publishedSites": [
- "Main"
], - "categoryIds": [
- "3249485"
], - "metadata": {
- "version": 1,
- "updatedAt": "2022-02-24T20:44:43.169Z",
- "createdAt": "2022-02-24T20:44:43.169Z"
}
}
]
Get all catalogs with the specified category that belong to the tenant.
The search was successful.
Request was syntactically incorrect. Details will be provided in the response payload.
An unexpected error prevented the server from fulfilling the request.
[- {
- "id": "3456454",
- "name": {
- "en": "This is a catalog"
}, - "description": {
- "en": "This catalog is used as an example"
}, - "status": "VISIBLE",
- "visibility": {
- "visible": true,
- "from": "2022-02-24T20:44:43.169Z",
- "to": "2023-07-24T20:44:43.169Z"
}, - "publishedSites": [
- "Main"
], - "categoryIds": [
- "3249485"
], - "metadata": {
- "version": 1,
- "updatedAt": "2022-02-24T20:44:43.169Z",
- "createdAt": "2022-02-24T20:44:43.169Z"
}
}
]
Get the catalog with the specified unique id that belongs to the tenant.
Catalog was successfully retrieved.
Request was syntactically incorrect. Details will be provided in the response payload.
Resource cannot be found
An unexpected error prevented the server from fulfilling the request.
{- "id": "3456454",
- "name": {
- "en": "This is a catalog"
}, - "description": {
- "en": "This catalog is used as an example"
}, - "status": "VISIBLE",
- "visibility": {
- "visible": true,
- "from": "2022-02-24T20:44:43.169Z",
- "to": "2023-07-24T20:44:43.169Z"
}, - "publishedSites": [
- "Main"
], - "categoryIds": [
- "3249485"
], - "metadata": {
- "version": 1,
- "updatedAt": "2022-02-24T20:44:43.169Z",
- "createdAt": "2022-02-24T20:44:43.169Z"
}
}
Creates a new catalog based on the provided request payload, for the specified tenant.
catalog.catalog_create
The catalog has been successfully created.
Request was syntactically incorrect. Details will be provided in the response payload.
Permission denied due to insufficient rights.
Given resource already exists.
An unexpected error prevented the server from fulfilling the request.
{- "name": {
- "en": "This is a catalog"
}, - "description": {
- "en": "This catalog is used as an example"
}, - "visibility": {
- "visible": true,
- "from": "2022-02-24T20:44:43.169Z",
- "to": "2023-07-24T20:44:43.169Z"
}, - "publishedSites": [
- "Main"
], - "categoryIds": [
- "3249485"
]
}
{- "id": "4239475"
}
Update the specified catalog.
catalog.catalog_update
The catalog has been successfully updated.
Request was syntactically incorrect. Details will be provided in the response payload.
Permission denied due to insufficient rights.
Resource cannot be found
Resource conflict
An unexpected error prevented the server from fulfilling the request.
{- "name": {
- "en": "This is the same catalog"
}, - "description": {
- "en": "This catalog has been updated"
}, - "visibility": {
- "visible": true,
- "from": "2022-02-24T20:44:43.169Z",
- "to": "2023-07-24T20:44:43.169Z"
}, - "publishedSites": [
- "Main"
], - "categoryIds": [
- "3249485"
], - "metadata": {
- "version": 1
}
}
{- "code": 400,
- "status": "Bad Request",
- "message": "Unsupported locale format. Please provide one of: 'fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5 or en-EN or en'"
}
Remove the specified catalog.
catalog.catalog_delete
The catalog has been successfully removed.
Request was syntactically incorrect. Details will be provided in the response payload.
Permission denied due to insufficient rights.
Resource cannot be found
An unexpected error prevented the server from fulfilling the request.
{- "code": 400,
- "status": "Bad Request",
- "message": "Unsupported locale format. Please provide one of: 'fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5 or en-EN or en'"
}
Update the specified catalog, even partially.
catalog.catalog_update
The catalog has been successfully updated.
Request was syntactically incorrect. Details will be provided in the response payload.
Permission denied due to insufficient rights.
An unexpected error prevented the server from fulfilling the request.
{- "name": {
- "en": "This is the same catalog"
}, - "description": {
- "en": "This catalog has been updated"
}, - "visibility": {
- "visible": true,
- "from": "2022-02-24T20:44:43.169Z",
- "to": "2023-07-24T20:44:43.169Z"
}, - "publishedSites": [
- "Main"
], - "categoryIds": [
- "3249485"
], - "metadata": {
- "version": 1
}
}
{- "property1": "string",
- "property2": "string"
}