Acumatica API - Endpoint Default 24 200 001 icon

Acumatica API - Endpoint Default 24 200 001

Interact with Acumatica Endpoint Default/24.200.001

Actions478

Sales Order → Insert/Update

AI-generated

Summary

Upsert (insert or update) a Sales Order in Acumatica by providing detailed sales order data including addresses, contacts, commissions, order lines, discounts, financial settings, payments, relations, shipments, and shipping settings.

Inputs

  • Bill To Address — Provide the billing address details including street, city, state, country, postal code, and validation status.
  • Bill To Contact — Provide billing contact information including attention, business name, email, and phone.
  • Commissions — Specify commission details including default salesperson and multiple salespersons with commission amounts and percentages.
  • Details — Add multiple sales order line details with extensive fields like inventory IDs, quantities, prices, dates, related documents, notes, and more.
  • Discount Details — Provide multiple discount details such as description, discount codes, amounts, free items, sequences, and types.
  • Financial Settings — Configure financial-related fields like billing instructions, branch, tax zones, invoice information, owner, terms, and posting period.
  • Order Risks — Specify one or more order risk messages, recommendations, and risk scores.
  • Payments — Include multiple payments with detailed payment attributes such as amount, method, transaction info, authorization, and notes.
  • Relations — Add multiple relations including accounts, contacts, document references, roles, and email information.
  • Shipments — Provide shipment details with fields like shipment number, date, inventory and invoice references, quantities, notes, and shipment status.
  • Shipping Settings — Set shipment shipping preferences including cancel date, delivery options, shipping rules, freight details, packaging weights, and priority.
  • Ship To Address — Specify the shipping address details with lines, city, state, country, postal code, and validation status.
  • Ship To Contact — Provide shipping contact details such as attention, business name, email, and phone.
  • Tax Details — Include multiple tax detail lines with tax zones, amounts, types, and VAT settings.
  • Totals — Provide totals summary including discount total, line total, tax total, freight, unpaid balance, and order volume and weight.
  • Note ID — Specify a Note ID associated with the Sales Order.
  • Additional Fields — Set other optional fields such as approval status, credit holds, currency info, customer ID, order number, status, terms, and user-defined flags.

Output shape

a single record containing the upserted Sales Order data

The operation will return the updated or newly created Sales Order record with its fields as per the provided inputs. Fields not included in the input will remain unchanged if updating an existing record. No explicit pagination or error envelope specified.

Links

Discussion