Update
AI-generatedSummary
Update an existing product in Adapay by specifying its ID and new property values, returning the updated product object.
Inputs
- Product ID (required) — ID of the product to update.
- Name (required) — New name of the product.
- Amount (required) — New default price of the product; minimum 0.01. This can be overridden per charge in the Charge node.
- Additional Fields — Optional additional product fields, currently supporting a 'Tag' string to categorize the product, which will be created if it does not exist.
Output shape
a single JSON object representing the updated product
The returned JSON object includes the updated product details, including the id field for downstream use. Errors are returned as JSON error objects if continueOnFail is enabled.