Download OpenAPI specification:
Category trees and product assignments.
List all categories with pagination and filtering
| page | integer Default: 1 Page number |
| page_size | integer Default: 20 Page size |
| search | string Search term for code or name |
| category_tree_id | string Filter by category tree ID |
| parent_id | string Filter by parent ID |
| status | string Filter by status (active, inactive) |
{- "data": {
- "items": [
- {
- "category_tree_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "code": "electronics",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d1",
- "image_asset_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d4",
- "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "Electronics",
- "parent_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d3",
- "path": "/root/electronics",
- "product_count": 42,
- "status": "active"
}
], - "pagination": {
- "has_next": true,
- "page": 0,
- "page_size": 0,
- "total_items": 0,
- "total_pages": 0
}
}, - "pagination": {
- "has_next": true,
- "page": 0,
- "page_size": 0,
- "total_items": 0,
- "total_pages": 0
}, - "success": true
}Create a new category within a category tree
Category creation request
| category_tree_id required | string non-empty |
| code required | string |
| description | string <= 1000 characters |
| image_asset_id | string |
| name required | string <= 255 characters |
| parent_id | string non-empty |
{- "category_tree_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "code": "electronics",
- "description": "All electronic products",
- "image_asset_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d4",
- "name": "Electronics",
- "parent_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d3"
}{- "data": {
- "category_tree_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "code": "electronics",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "description": "All electronic products",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d1",
- "image_asset_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d4",
- "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "Electronics",
- "parent_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d3",
- "path": "/root/electronics",
- "product_count": 42,
- "status": "active"
}, - "success": true
}Retrieve a category by its ID
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d1 Category ID |
{- "data": {
- "category_tree_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "code": "electronics",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "description": "All electronic products",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d1",
- "image_asset_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d4",
- "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "Electronics",
- "parent_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d3",
- "path": "/root/electronics",
- "product_count": 42,
- "status": "active"
}, - "success": true
}Soft-delete a category by its ID
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d1 Category ID |
{- "errors": [
- {
- "code": "string",
- "field": "string",
- "message": "string"
}
], - "message": "string",
- "success": true
}Partially update a category by its ID
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d1 Category ID |
Category update request
| category_tree_id | string non-empty |
| description | string <= 1000 characters |
| image_asset_id | string |
| name | string <= 255 characters |
| parent_id | string non-empty |
{- "category_tree_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "description": "Updated description",
- "image_asset_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d4",
- "name": "Electronics",
- "parent_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d3"
}{- "data": {
- "category_tree_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "code": "electronics",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "description": "All electronic products",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d1",
- "image_asset_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d4",
- "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "Electronics",
- "parent_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d3",
- "path": "/root/electronics",
- "product_count": 42,
- "status": "active"
}, - "success": true
}Change a category's status (activate or deactivate)
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d1 Category ID |
Status change request
| status required | string Enum: "active" "inactive" |
{- "status": "active"
}{- "data": {
- "category_tree_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "code": "electronics",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "description": "All electronic products",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d1",
- "image_asset_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d4",
- "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "Electronics",
- "parent_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d3",
- "path": "/root/electronics",
- "product_count": 42,
- "status": "active"
}, - "success": true
}Retrieve all localized translations for a specific category
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d1 Category ID |
{- "data": {
- "items": [
- {
- "created_at": "2026-01-18T10:30:00Z",
- "locale": "en_US",
- "modified_at": "2026-01-18T15:45:00Z",
- "name": "Electronics"
}
]
}, - "success": true
}PATCH: Update multiple translations for a category
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d1 Category ID |
Translations data
required | Array of objects (CategoryTranslationInput) |
{- "translations": [
- {
- "locale": "en_US",
- "name": "Electronics"
}
]
}{- "data": {
- "items": [
- {
- "created_at": "2026-01-18T10:30:00Z",
- "locale": "en_US",
- "modified_at": "2026-01-18T15:45:00Z",
- "name": "Electronics"
}
]
}, - "success": true
}List all category trees with pagination and filtering
| page | integer Default: 1 Page number |
| page_size | integer Default: 20 Page size |
| search | string Search term for code or name |
| status | string Filter by status (active, inactive) |
{- "data": {
- "items": [
- {
- "code": "ecommerce",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "E-Commerce Category Tree",
- "status": "active"
}
], - "pagination": {
- "has_next": true,
- "page": 0,
- "page_size": 0,
- "total_items": 0,
- "total_pages": 0
}
}, - "pagination": {
- "has_next": true,
- "page": 0,
- "page_size": 0,
- "total_items": 0,
- "total_pages": 0
}, - "success": true
}Create a new category tree
Category tree creation request
| code required | string |
| description | string <= 1000 characters |
| name required | string <= 255 characters |
{- "code": "ecommerce",
- "description": "Category tree for online store",
- "name": "E-Commerce Category Tree"
}{- "data": {
- "code": "ecommerce",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "description": "Category tree for online store",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "E-Commerce Category Tree",
- "status": "active"
}, - "success": true
}Retrieve a category tree by its ID
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2 Category Tree ID |
{- "data": {
- "code": "ecommerce",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "description": "Category tree for online store",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "E-Commerce Category Tree",
- "status": "active"
}, - "success": true
}Soft-delete a category tree by its ID
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2 Category Tree ID |
{- "errors": [
- {
- "code": "string",
- "field": "string",
- "message": "string"
}
], - "message": "string",
- "success": true
}Partially update a category tree by its ID
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2 Category Tree ID |
Category tree update request
| description | string <= 1000 characters |
| name | string <= 255 characters |
{- "description": "Updated category tree description",
- "name": "E-Commerce Category Tree"
}{- "data": {
- "code": "ecommerce",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "description": "Category tree for online store",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "E-Commerce Category Tree",
- "status": "active"
}, - "success": true
}Change a category tree's status (activate or deactivate)
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2 Category Tree ID |
Status change request
| status required | string Enum: "active" "inactive" |
{- "status": "active"
}{- "data": {
- "code": "ecommerce",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "description": "Category tree for online store",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "E-Commerce Category Tree",
- "status": "active"
}, - "success": true
}Retrieve all localized translations for a specific category tree
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2 Category Tree ID |
{- "data": {
- "items": [
- {
- "created_at": "2026-01-18T10:30:00Z",
- "locale": "en_US",
- "modified_at": "2026-01-18T15:45:00Z",
- "name": "E-Commerce Category Tree"
}
]
}, - "success": true
}PATCH: Update multiple translations for a category tree
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2 Category Tree ID |
Translations data
required | Array of objects (CategoryTreeTranslationInput) |
{- "translations": [
- {
- "locale": "en_US",
- "name": "E-Commerce Category Tree"
}
]
}{- "data": {
- "items": [
- {
- "created_at": "2026-01-18T10:30:00Z",
- "locale": "en_US",
- "modified_at": "2026-01-18T15:45:00Z",
- "name": "E-Commerce Category Tree"
}
]
}, - "success": true
}List all channels with pagination and filtering
| page | integer Default: 1 Page number |
| page_size | integer Default: 20 Page size |
| search | string Search term for code or name |
| status | string Filter by status (active, inactive) |
{- "data": {
- "items": [
- {
- "category_tree": {
- "code": "ecommerce",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "name": "E-Commerce Category Tree"
}, - "code": "web-store",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8c1",
- "locales": [
- {
- "country_name": "United States",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8e4",
- "language_name": "English",
- "locale_code": "en_US"
}
], - "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "Web Store",
- "status": "active"
}
], - "pagination": {
- "has_next": true,
- "page": 0,
- "page_size": 0,
- "total_items": 0,
- "total_pages": 0
}
}, - "pagination": {
- "has_next": true,
- "page": 0,
- "page_size": 0,
- "total_items": 0,
- "total_pages": 0
}, - "success": true
}Create a new channel with optional locale assignments
Channel creation request
| category_tree_id required | string non-empty |
| code required | string |
| description | string <= 1000 characters |
Array of objects (ChannelLocaleInput) | |
| name required | string <= 255 characters |
{- "category_tree_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "code": "web-store",
- "description": "Online web store channel",
- "locales": [
- {
- "locale_code": "en_US"
}
], - "name": "Web Store"
}{- "data": {
- "category_tree": {
- "code": "ecommerce",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "name": "E-Commerce Category Tree"
}, - "code": "web-store",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "description": "Online web store channel",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8c1",
- "locales": [
- {
- "country_name": "United States",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8e4",
- "language_name": "English",
- "locale_code": "en_US"
}
], - "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "Web Store",
- "status": "active"
}, - "success": true
}Retrieve a channel by its ID
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8c1 Channel ID |
{- "data": {
- "category_tree": {
- "code": "ecommerce",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "name": "E-Commerce Category Tree"
}, - "code": "web-store",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "description": "Online web store channel",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8c1",
- "locales": [
- {
- "country_name": "United States",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8e4",
- "language_name": "English",
- "locale_code": "en_US"
}
], - "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "Web Store",
- "status": "active"
}, - "success": true
}Soft-delete a channel by its ID
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8c1 Channel ID |
{- "errors": [
- {
- "code": "string",
- "field": "string",
- "message": "string"
}
], - "message": "string",
- "success": true
}Partially update a channel by its ID
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8c1 Channel ID |
Channel update request
| category_tree_id | string non-empty |
| description | string <= 1000 characters |
Array of objects (ChannelLocaleInput) | |
| name | string <= 255 characters |
{- "category_tree_id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "description": "Updated channel description",
- "locales": [
- {
- "locale_code": "en_US"
}
], - "name": "Web Store"
}{- "data": {
- "category_tree": {
- "code": "ecommerce",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "name": "E-Commerce Category Tree"
}, - "code": "web-store",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "description": "Online web store channel",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8c1",
- "locales": [
- {
- "country_name": "United States",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8e4",
- "language_name": "English",
- "locale_code": "en_US"
}
], - "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "Web Store",
- "status": "active"
}, - "success": true
}Change a channel's status (activate or deactivate)
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8c1 Channel ID |
Status change request
| status required | string Enum: "active" "inactive" |
{- "status": "active"
}{- "data": {
- "category_tree": {
- "code": "ecommerce",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8d2",
- "name": "E-Commerce Category Tree"
}, - "code": "web-store",
- "created_at": "2026-01-18T10:30:00Z",
- "created_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "description": "Online web store channel",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8c1",
- "locales": [
- {
- "country_name": "United States",
- "id": "0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8e4",
- "language_name": "English",
- "locale_code": "en_US"
}
], - "modified_at": "2026-01-18T15:45:00Z",
- "modified_by": {
- "id": "string",
- "name": "string",
- "type": "user"
}, - "name": "Web Store",
- "status": "active"
}, - "success": true
}Retrieve all localized translations for a specific channel
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8c1 Channel ID |
{- "data": {
- "items": [
- {
- "created_at": "2026-01-18T10:30:00Z",
- "locale": "en_US",
- "modified_at": "2026-01-18T15:45:00Z",
- "name": "Web Store"
}
]
}, - "success": true
}PATCH: Update multiple translations for a channel
| id required | string Example: 0193a5b6-e7c0-7df0-b4b1-c0a1f5e3a8c1 Channel ID |
Translations data
required | Array of objects (ChannelTranslationInput) |
{- "translations": [
- {
- "locale": "en_US",
- "name": "Web Store"
}
]
}{- "data": {
- "items": [
- {
- "created_at": "2026-01-18T10:30:00Z",
- "locale": "en_US",
- "modified_at": "2026-01-18T15:45:00Z",
- "name": "Web Store"
}
]
}, - "success": true
}