Actions133
- Address Actions
- Bank Transaction Actions
- Company Actions
- Contract (Order) Actions
- Document Actions
- Employee (Contact) Actions
- Event Actions
- Expense Actions
- Expense Payment Actions
- Invoice Actions
- Invoice Payment Actions
- Opportunity Actions
- Product Actions
- Project Actions
- Quotation Actions
- Supplier Actions
- Supplier Contract Actions
- Supplier Delivery Actions
- Diverse Operations Actions
- Delivery Forms Actions
- Task Actions
- Ticket Actions
- Timetracking Actions
- Themes Actions
- Bank Accounts Actions
- Company Categories Actions
- Task Natures Actions
- Project Natures Actions
- Tax Rates Actions
- Accounting Codes Actions
- Languages Actions
- Workforces Actions
- Payslips Actions
- Pipes Actions
- Account Actions
Product → Upsert
AI-generatedSummary
Create or update a product in Axonaut by specifying a unique identifier and desired fields.
Inputs
- Unique Field (required) — Select the product field (Name or Reference) to identify existing products.
- Unique Value (required) — Provide the value to search for in the selected unique field.
- Add Fields — Specify additional product details such as Reference code, Description, Price, and Unit to set or update.
Output shape
a single record representing the created or updated product, including an _operation field indicating 'created' or 'updated'.
The operation searches for an existing product using the Unique Field and Unique Value. If found, it updates the product with the provided fields; otherwise, it creates a new product. Output includes the product data and an _operation annotation.
Examples
Example 1: Upsert a product using the product's Name as the unique identifier to update its price and description if it exists or create it if not.
Set Unique Field to 'Name', provide the Unique Value to identify the product, and specify any fields to add or update such as Price and Description.