/templates endpoint provides an interface for managing template compilation in the shop system. Through this interface you can start the compilation process, query the current progress and status, and view a list of past compilation results.
In addition, you can determine how many steps are required for the full compilation process.
Supported methods
List of all supported methods.Data fields for template compilation
Example
Methods for template compilation
The following methods let you start the template compilation process, monitor its progress, and view past compilation results.GET templates/results
This method gives you access to a list of previous template compilation runs. Each entry contains information about status, duration, the number of errors and warnings as well as the subshops and users involved. The results can be filtered and sorted to analyze specific compilation runs. To use this endpoint, the corresponding permissions to read template data must be available.Example
Response
Filter fields
createdAt, duration, errorCount, warningCount, user, subshopId
Sort fields
createdAt, duration, durationMillis, errorCount, warningCount, subshopId, status
