seo/texts/ endpoint provides an interface for managing SEO meta data for different areas of the shop (e.g. pages, categories, products). The API lets you maintain meta titles and meta descriptions manually or reset them to the automatically generated default values when needed.
Meta data is either set directly or generated based on stored schemas.
Supported methods
List of all supported methods.Data fields (meta data resource)
Meta data of category and product pages are stored in the user-defined fieldsmetaTitle and metaDescription. To work with them, the categories/ and products/ endpoints are used. Meta data of the home page is located in subshop-specific configurations and cannot be queried via API. For meta data of the other shop pages there is a table in the database.
Data fields
Example of a record
Methods for meta data of shop pages (views)
This section contains all endpoints for managing meta data for shop pages, which are internally referred to as views. You can update or reset meta data such as title and description, fetch data of existing pages, register new pages and delete individual entries. The views are uniquely identified by theirresourceId.
Permissions for SEO data are required.
GET seo/texts/views
This method returns a paginated list of meta data (e.g. title and description) of all page resources existing in the shop that can be maintained for SEO purposes. Using the filter and sort parameters, you can load only certain entries — for example, only pages with manually set meta titles or descriptions. The number of entries per page can be set with thesize parameter in the range from 1 to 300.
To use it, read permissions for SEO data are required.
Example
Response
Filter fields
createdAt, updatedAt, metaTitleSetManually, metaDescriptionSetManually
Sort fields
createdAt, updatedAt, resourceId, metaTitle, metaDescription
Error codes
POST seo/texts/views
This method can be used to register a new shop page for SEO management. When creating,metaTitle and metaDescription are stored empty initially. A unique page name (viewName) must be provided, which will serve as resourceId. The name must not already exist.
For this action, create permissions for SEO data are required.
Note: If a new shop page is not registered manually, meta data is generated for it automatically based on the schema from the configuration when it is accessed for the first time.
Example
Request body
Response
Error codes
PUT seo/texts/views/{viewId}
This method can be used to selectively update the SEO meta data (title and description) of a specific shop page. OnlymetaTitle and/or metaDescription may be changed — accompanying technical fields such as metaTitleSetManually, metaDescriptionSetManually and updatedAt are set automatically.
The viewId must be specified in the URL. This is the numeric id of the record (not the resourceId).
To update, the appropriate write permissions for SEO data must be available.
Example
Request body
Response
Error codes
PUT seo/texts/views/reset
This endpoint resets the manually set meta data of selected pages and replaces them with automatically generated values according to the defined schema. The fieldsmetaTitleSetManually and metaDescriptionSetManually are set to false.
Write permissions for SEO data are required.
Example
Request body
Response
Error codes
DELETE seo/texts/views/{viewId}
This endpoint can be used to selectively delete the meta data (title and description) of a registered page. The page is identified by its numericid.
To execute, delete permissions for SEO data are required.
Example
Response
Error codes
Methods for meta data of categories
This section covers the processing of SEO meta data for categories. The API only allows resetting manually maintained meta titles and meta descriptions. Existing content is removed and replaced with values generated based on a schema.PUT seo/texts/categories/reset
Resets the meta data of the provided categories. Manually set fieldsmetaTitle and metaDescription are replaced by automatically generated content. The fields metaTitleSetManually and metaDescriptionSetManually are set to false.
Write permissions for SEO data are required.
Example
Request body
Response
Error codes
Methods for meta data of products
Only a reset option is available for products. The API does not offer a way to update individual SEO fields directly. Instead, manual meta data is completely replaced with automatically generated data.PUT seo/texts/products/reset
This endpoint deletes the manually entered meta data of products and replaces them with generated content. The fieldsmetaTitleSetManually and metaDescriptionSetManually are set to false.
Write permissions for SEO data are required.
