Léo Delivery Catalog icon

Léo Delivery Catalog

Ferramentas de cadastro de cardápio (catálogo) do Léo Delivery: categorias, complementos/adicionais, opções e produtos, com imagens. Uso como Tool de IA.

Create Modifier (Complemento)

AI-generated

Summary

Creates a reusable modifier group for a merchant by sending the supplied JSON payload to the catalog management API.

Inputs

  • Merchant ID (required) — Merchant UUID; defaults to the incoming item's merchantId.
  • Payload (JSON) — Request body for the modifier, such as { "name": "Size", "description": "Choose a size", "required": true, "minQuantity": 1, "maxQuantity": 1 }. The source accepts an object or a JSON string containing an object; it defaults to {}.

Output shape

A list of one item per input item, each containing a success response record.

Each record has success: true, operation: "create_modifier", data with the API response, and a success message. The operation sends a POST request to /v1/{merchantId}/catalog/management/modifiers; request failures raise a node error.

Links

Discussion