Product templates are predefined blueprints that enforce structure and validation for product data in Fynd Commerce. They define the mandatory and optional attributes required for specific product types, ensuring uniformity, consistency, and compliance across your catalog listings. Each template is associated with specific departments and categories, streamlining the product creation process by providing a standardized format.
The Fetch Templates endpoint retrieves all product templates configured for your company, with optional filtering by department. Use this API to access template metadata (including names, slugs, associated departments, categories, and required attributes) which is essential when creating products or building product creation workflows. Understanding template structures ensures that your product data meets platform validation requirements and maintains catalog integrity.
Request Type:
GET
Scheme:HTTPS
Endpoint:https://{{host}}/v3/catalog/product/template
Try out Fynd Konnect's Fetch Templates Endpoint
Common Request Headers
| Header | Mandatory | Description |
|---|---|---|
x-access-token | Yes | Access token used for authenticating API requests to Fynd Konnect |
Content-Type | Yes | application/json |
- Retrieve all available templates to populate product creation form dropdowns
- Filter templates by department to show only relevant templates for specific product types
- Identify required attributes for a template before creating products
- Understand which categories are supported by each template
- Validate product data against template requirements before submission
Filter templates by department slug (e.g., electronics, fashion, grocery)
Page number for pagination (default: 1)
Number of items to retrieve per page (default: 10)
- Use
departmentslug to retrieve only templates relevant to a specific department - Leave
departmentempty to retrieve all templates across all departments - Cache template data as it changes infrequently
- Cross-reference the
attributesarray with Fetch Attributes by Product to understand attribute requirements
List of product templates matching the query filters
Current page number in the paginated response
Number of items returned in this page
Total number of templates available matching the query
- Fynd Konnect [Sandbox]https://fyndkonnect.konnect.uat.fyndx1.de/v3/catalog/product/template
curl -i -X GET \
'https://fyndkonnect.konnect.uat.fyndx1.de/v3/catalog/product/template?department=string&page_number=1&page_size=1' \
-H 'x-access-token: YOUR_API_KEY_HERE'{
"items": [
{
"id": "tmpl_12345",
"name": "Air Care",
"slug": "air-care",
"description": null,
"is_active": true,
"is_archived": false,
"is_physical": true,
"is_expirable": false,
"departments": [
"electronics"
],
"categories": [
"air-coolers",
"air-purifiers",
"split-air-conditioners",
"window-air-conditioners"
],
"attributes": [
"category-l1",
"category-l2",
"category-l3",
"model",
"primary_color",
"special-feature",
"warranty-period",
"energy-efficiency-ratio-eer"
],
"created_on": "2024-09-02T08:36:12.126000",
"modified_on": "2025-04-14T08:39:48.546000"
}
],
"page_number": 1,
"page_size": 10,
"total": 1
}- Cache template data: Templates change infrequently, so implement caching to reduce API calls
- Use active templates only: Filter for
is_active: trueandis_archived: falsetemplates when creating new products - Store template slugs: Save template slugs in your system as they are required in product creation requests
- Validate categories: Ensure the L3 category you're assigning to a product is listed in the template's
categoriesarray - Fetch attribute details: Use the
attributesarray with Fetch Attributes by Product to understand mandatory vs. optional fields - Handle pagination: Some companies may have many templates; implement proper pagination logic
- Check template compatibility: Verify the template supports your target department and category before product creation
- To retrieve category-specific attributes, see Fetch Attributes by Product
- To fetch departments for template filtering, see Fetch Departments
- To retrieve categories supported by templates, see Fetch Categories
- To create products using templates, see Create Product
- For complete catalog setup workflow, see Catalog Management Guide