Actions478
- Account Actions
- Account Details For Period Inquiry Actions
- Account Group Actions
- Account Summary Inquiry Actions
- Activity Actions
- Amazon Store Actions
- Appointment Actions
- Attribute Definition Actions
- Big Commerce Stores Actions
- Bill Actions
- Budget Actions
- Business Account Actions
- Carrier Actions
- Case Actions
- Cash Sale Actions
- Cash Transaction Actions
- Change Order Actions
- Change Order Class Actions
- Check Actions
- Companies Structure Actions
- Company Financial Period Actions
- Contact Actions
- Contract Usage Actions
- Cost Code Actions
- Currency Actions
- Customer Actions
- Customer Class Actions
- Customer Location Actions
- Customer Payment Method Actions
- Customer Price Class Actions
- Deduction Benefit Code Actions
- Discount Actions
- Discount Code Actions
- Earning Type Code Actions
- Email Actions
- Email Processing Actions
- Employee Actions
- Employee Payroll Class Actions
- Employee Payroll Settings Actions
- Event Actions
- Expense Claim Actions
- Expense Receipt Actions
- External Commitment Actions
- Financial Period Actions
- Financial Year Actions
- F O B Point Actions
- Inventory Adjustment Actions
- Inventory Allocation Inquiry Actions
- Inventory Issue Actions
- Inventory Quantity Available Actions
- Inventory Receipt Actions
- Inventory Summary Inquiry Actions
- Invoice Actions
- Item Class Actions
- Item Sales Category Actions
- Item Warehouse Actions
- Journal Transaction Actions
- Kit Assembly Actions
- Kit Specification Actions
- Labor Cost Rate Actions
- Lead Actions
- Ledger Actions
- Lot Serial Class Actions
- Non Stock Item Actions
- Opportunity Actions
- Pay Group Actions
- Payment Actions
- Payment Method Actions
- Pay Period Actions
- Payroll Batch Actions
- Payroll Union Local Actions
- Payroll W C C Code Actions
- Physical Inventory Count Actions
- Physical Inventory Review Actions
- Pro Forma Invoice Actions
- Project Actions
- Project Budget Actions
- Project Task Actions
- Project Template Actions
- Project Template Task Actions
- Project Transaction Actions
- P T O Bank Actions
- Purchase Order Actions
- Purchase Receipt Actions
- Sales Invoice Actions
- Sales Order Actions
- Salesperson Actions
- Sales Prices Inquiry Actions
- Sales Price Worksheet Actions
- Service Order Actions
- Shipment Actions
- Shipping Box Actions
- Shipping Term Actions
- Shipping Zones Actions
- Ship Via Actions
- Shopify Store Actions
- Stock Item Actions
- Storage Details By Location Inquiry Actions
- Storage Details Inquiry Actions
- Subaccount Actions
- Subcontract Actions
- Task Actions
- Tax Actions
- Tax Category Actions
- Tax Reporting Settings Actions
- Tax Zone Actions
- Template Items Actions
- Time Entry Actions
- Transfer Order Actions
- Union Local Actions
- Units Of Measure Actions
- Vendor Actions
- Vendor Class Actions
- Vendor Prices Inquiry Actions
- Vendor Price Worksheet Actions
- Warehouse Actions
- Work Calendar Actions
- Work Class Compensation Code Actions
- Work Location Actions
Opportunity → Insert/Update
AI-generatedSummary
Insert a new Opportunity record or update an existing one in Acumatica ERP by providing detailed Opportunity data including related entities and attributes.
Inputs
- Activities — Multiple Opportunity-related activities with fields such as Billable status, Overtime, Category, Owner, Project, Summary, Status, and date/time fields.
- Address — Address details for the Opportunity including lines, city, state, postal code, country, and other specific location information.
- Attributes — A list of custom attributes for the Opportunity, each with identifiers, descriptions, activity status, and values.
- Contact Information — Contact details including names, company, email, phone numbers with types, fax, position, title, and website.
- Discounts — Discount entries related to the Opportunity with amount, quantity, code, percent, free items, and flags for manual or skipped discounts.
- Products — Products related to the Opportunity including inventory ID, quantities, pricing, discounts, project tasks, warehouse, and tax info.
- Relations — List of relations connected to the Opportunity including account info, contact details, roles, document references, and flags like primary or add to CC.
- Tax Details — Tax-related details per line including VAT flags, taxable amounts, tax IDs, rates, and type.
- Note ID — An identifier for notes associated with the Opportunity.
- Additional Fields — Various supplemental Opportunity fields such as amount, branch, business account, contact info, currency, discounts, identification, status, stage, totals, and workgroup info.
Output shape
The operation returns a single record representing the inserted or updated Opportunity with its full data as confirmed by the Acumatica API response.
Input fields are extensively nested and optional; the operation upserts based on provided identifiers. Omitting identifiers results in insertion; providing them attempts update. Empty or default values are automatically stripped before sending the request. Returned data matches the Opportunity resource schema with all requested and system-generated fields.
Examples
Example 1: Create a new Opportunity
Fill in mandatory Opportunity identifiers and provide optional fields like contact information, products, and relations to create a new Opportunity record.
Example 2: Update an existing Opportunity
Include the OpportunityID in the additional fields along with updated Activity or Address information to modify an existing Opportunity record in Acumatica.
