Actions11
List Categories
AI-generatedSummary
Lists the categories for a specified Léo Delivery merchant by calling the catalog management API. It returns the API response in a success envelope for each incoming item.
Inputs
- Merchant ID (required) — Merchant UUID; defaults to the incoming item's
merchantIdfield.
Output shape
A list of items, one per incoming item, each containing { success, operation, data, message }.
datacontains the API response. The node sends an authenticated GET request to/v1/{merchantId}/catalog/management/categories; API failures raise a node error.
Examples
Example 1: List a merchant's categories
Provide a Merchant ID, or pass it in the incoming item's merchantId field. Configure the required Léo Delivery System Auth API credential with a Merchant API Base URL and JWT secret token.