Actions11
Update Modifier Option (Imagem)
AI-generatedSummary
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,
datacontains the API response andmessageindicates that the modifier option was updated. HTTP failures are raised as node errors.