Actions11
Create Category
AI-generatedSummary
Creates a category in the specified merchant’s Léo Delivery catalog by sending the JSON payload to the catalog management API.
Inputs
- Merchant ID (required) — UUID of the merchant whose catalog to manage; defaults to {{$json.merchantId}}.
- Payload (JSON) — Category request body, typically {"name":"...","description":"...","sequence":0}; description and sequence are optional. The value must resolve to a JSON object.
Output shape
A list of items, one per input item; each item contains a single JSON object with success, operation, data, and message fields.
On success, success is true, operation is create_category, data contains the API response, and message reports that the category was created. HTTP failures raise a node operation error.