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 Product (Imagem)

AI-generated

Summary

Updates a product in a merchant’s Léo Delivery catalog by sending a PATCH request. Supply the merchant and product UUIDs, then provide the fields to update in the JSON payload; the UI describes an image payload as { "image": { "base64", "contentType", "extension" } }.

Inputs

  • Merchant ID (required) — UUID of the merchant whose catalog is managed. Defaults to {{$json.merchantId}}.
  • Product ID — UUID of the product to update. Defaults to {{$json.productId}}.
  • Payload (JSON) — JSON object containing the fields to update. For an image, use { "image": { "base64": "...", "contentType": "...", "extension": "..." } }. Defaults to {}.

Output shape

One output item per input item, each containing a single JSON object.

The object has success: true, operation: "update_product", data with the API response, and a success message. The request PATCHes /v1/{merchantId}/catalog/management/products/{productId}. An empty payload is omitted from the HTTP request. Request failures raise a node operation error.

Links

Discussion