category_create
Add new categories to a Gomag e-commerce store, specifying multilingual names, optional descriptions, parent category, and enabled status.
Instructions
Create one or more categories.
Parameters
data : JSON array of category objects. Each object may include: - name (dict, keyed by language e.g. {"ro": "...", "en": "..."}) - description (dict, keyed by language) - parent_id (int, ID of parent category; omit or 0 for root) - enabled (0 or 1) - image (URL string)
Example
'[{"name": {"ro": "Electrocasnice", "en": "Appliances"}, "enabled": 1}]'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||