Acumatica API - Endpoint Default 23 200 001 icon

Acumatica API - Endpoint Default 23 200 001

Interact with Acumatica Endpoint Default/23.200.001

Actions478

Customer Class → Insert/Update

AI-generated

Summary

Inserts or updates a Customer Class in Acumatica.

Inputs

  • ClassID — The unique identifier for the class. If provided, the node updates the existing class; otherwise it creates a new one.
  • Description — Description of the customer class.
  • Attributes — List of attribute objects. Each item includes Active (boolean), AttributeID (string), DefaultValue (string), Description (string), Required (boolean), and SortOrder (number).
  • CreditDaysPastDue — Number of days past due before credit is applied.
  • Additional Fields — Collection of optional fields covering accounts, credit limits, currency, tax zone, payment settings, print/dunning options, etc. Fields include ApplyOverdueCharges, ARAccount, ARSubaccount, AutoApplyPayments, CashDiscountAccount, CashDiscountSubaccount, COGSAccount, COGSSubaccount, Country, CreditLimit, CreditVerification, CurrencyID, CurrencyRateType, DefaultLocationIDfromBranch, DefaultRestrictionGroup, DiscountAccount, DiscountSubaccount, EnableCurrencyOverride, EnableRateOverride, EnableWriteOffs, EntityUsageType, FreightAccount, FreightSubaccount, GroupDocumentDiscountLimit, LastModifiedDateTime, MiscAccount, MiscSubaccount, MultiCurrencyStatements, OverdueChargeID, OverLimitAmount, PaymentMethod, PrepaymentAccount, PrepaymentSubaccount, PrintDunningLetters, PrintInvoices, PrintStatements, RequireEntityUsageType, RequireTaxZone, SalesAccount, SalespersonID, SalesSubaccount, SendDunningLettersbyEmail, SendInvoicesbyEmail, SendStatementsByEmail, ShippingRule, ShippingTerms, ShipVia, StatementCycleID, StatementType, TaxZoneID, Terms, UnrealizedGainAccount, UnrealizedGainSubaccount, UnrealizedLossAccount, UnrealizedLossSubaccount, WriteOffLimit, and date‑time fields CreatedDateTime and LastModifiedDateTime.

Output shape

object

Returns the created or updated Customer Class object as supplied by the Acumatica API.

Examples

Example 1: Create a new customer class with a single attribute

Leave ClassID blank, set Description, add one Attributes entry, optionally set CreditDaysPastDue and any Additional Fields.

Example 2: Update an existing class

Provide the existing ClassID, change any fields (e.g., Description, Attributes) and run the node.

Links

Discussion