Departments are the highest level of catalog organization in Fynd Commerce, representing broad product categories such as Men's Clothing, Accessories, Footwear, Grocery, or Bottomwear. They serve as the foundation for structuring your product catalog and enabling efficient product discovery across your commerce platform.
The Fetch Departments endpoint retrieves all departments configured for your company, with optional filtering capabilities. Use this API to access department metadata (including IDs, names, slugs, and active status) which is essential when creating products or syncing catalog data between systems. The endpoint supports flexible querying by name, slug, or active status, along with pagination for handling large department lists.
Request Type:
GET
Scheme:HTTPS
Endpoint:https://{{host}}/v3/catalog/departments
Try out Fynd Konnect's Fetch Departments 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 the complete list of departments to populate product creation forms
- Filter departments by name or slug to find specific catalog groupings
- Check active vs. inactive departments to ensure product assignment accuracy
- Build department hierarchies for navigation and catalog organization
Filter departments by name (partial match supported)
Filter departments by slug (exact match)
Filter by active (true) or inactive (false) status
Page number for pagination (default: 1)
Number of items to retrieve per page (default: 10)
- Use
namefor fuzzy searching across department names - Use
slugwhen you need an exact match for a specific department - Set
is_active=trueto retrieve only departments currently in use - Combine filters to narrow down results (e.g.,
name=Clothing&is_active=true)
List of departments
Current page number
Page size used for this response
Total number of records available
- Fynd Konnect [Sandbox]https://fyndkonnect.konnect.uat.fyndx1.de/v3/catalog/departments
curl -i -X GET \
'https://fyndkonnect.konnect.uat.fyndx1.de/v3/catalog/departments?name=string&slug=string&is_active=true&page_number=1&page_size=1' \
-H 'x-access-token: YOUR_API_KEY_HERE'{
"items": [
{
"id": 5956,
"name": "Electronics",
"slug": "electronics",
"is_active": true,
"description": "Electronics department",
"logo": "https://example.com/electronics.png",
"created_at": "2023-09-25T10:17:29Z",
"updated_at": "2023-10-03T09:30:24Z"
},
{
"id": 5957,
"name": "Men's Clothing",
"slug": "mens-clothing",
"is_active": true,
"description": "Men's apparel and accessories",
"logo": "https://example.com/mens-clothing.png",
"created_at": "2023-09-25T10:17:29Z",
"updated_at": "2023-10-03T09:30:24Z"
}
],
"page_number": 1,
"page_size": 10,
"total": 2
}- Cache department data: Departments rarely change, so cache the response to reduce API calls
- Use
is_activefilter: Always filter byis_active=truewhen assigning products to departments - Store department IDs: Save department IDs (UIDs) in your system for product creation requests
- Handle pagination: For companies with 50+ departments, implement proper pagination logic
- Validate before product creation: Always verify the department exists and is active before creating products
- To retrieve categories within departments, see Fetch Categories
- To fetch templates associated with departments, see Fetch Templates
- To create products with department assignments, see Create Product
- For complete catalog setup workflow, see Catalog Management Guide