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.

Update Modifier Option (Imagem)

AI-generated

Summary

Updates a modifier option for the specified merchant by sending a PATCH request to the catalog management API. Supply the option UUID and a JSON payload containing the fields to update, such as an image.

Inputs

  • Merchant ID (required) — UUID of the merchant whose catalog is being managed; defaults to the incoming item's merchantId.
  • Option ID — UUID of the modifier option to update; defaults to the incoming item's optionId.
  • Payload (JSON) — JSON object with fields to update. The UI description shows { "image": { "base64", "contentType", "extension" } } as an example. Defaults to {}.

Output shape

A list of one item per input item, each containing a JSON object with success, operation, data, and message.

On success, data contains the API response and message indicates that the modifier option was updated. HTTP failures are raised as node errors.

Links

Discussion