Create
AI-generatedSummary
Create a new product in Adapay by specifying its name, default amount, and optional tag category. Returns the created product object including its ID for use in downstream Charge nodes.
Inputs
- Name (required) — The name of the product to create.
- Amount (required) — The default price of the product; must be at least 0.01 and can be overridden per charge.
- Additional Fields — Optional fields including a tag to categorize the product, which will be created automatically if it doesn't exist.
Output shape
a list of product objects, each including the newly created product's details with an id field
The output contains one product object per input item processed, each wrapped in a JSON envelope under a 'json' key. Errors can be returned per item if 'Continue On Fail' is enabled.
Examples
Example 1: Creating a product
Set 'Operation' to 'Create', provide 'Name', 'Amount', and optionally a 'Tag' in 'Additional Fields'. The node will return the created product with its unique ID.