Acumatica API - Endpoint Default 23 200 001 icon

Acumatica API - Endpoint Default 23 200 001

Interact with Acumatica Endpoint Default/23.200.001

Actions478

Carrier → Insert/Update

AI-generated

Summary

Upsert a Carrier record in Acumatica by constructing an API request body from typed Carrier parameters, unwrapping nested fixedCollection option keys, and stripping default/empty values to prevent 400 errors.

Inputs

  • CustomerAccounts — Customer Account details for the Carrier record, stored as a fixedCollection with multipleValues enabled. Includes boolean active flag and string fields for carrier account, customer ID/name, location, postal code, and record ID.
  • PlugInParameters — Plug-in parameter entries for the Carrier record, stored as a fixedCollection with multipleValues enabled. Each entry contains Description, PluginID, and Value strings.
  • additionalFields — Optional Carrier metadata fields collected into a single collection. Includes CarrierID, CarrierUnits, CreatedDateTime, Description, LastModifiedDateTime, PlugInType, and unit-of-measure strings (Centimeter, Inch, Kilogram, Pound) plus WarehouseID.

Output shape

Acumatica API response body for the upsert operation, containing the Carrier record identifier and status. Empty or default-valued fields are stripped prior to request construction per the node's stripping logic.

If a RecordID is provided within CustomerAccounts, the operation targets an existing Carrier record for update; otherwise a new record is inserted. The node builds the request URL, appends the optional ID for upsert-by-ID, constructs the body via buildBody, strips defaults with stripDefaults, and sends the request to the Acumatica endpoint.

Examples

Example 1: Insert new Carrier

Leave RecordID at default 0, populate CustomerName, CustomerID, and optional additional fields such as WarehouseID and CarrierUnits. The node will generate an insert request.

Example 2: Update existing Carrier

Set RecordID to the target carrier's unique identifier, adjust other fields as needed. The node will append the ID to the URL and send an update request.

Links

Discussion