Acumatica API - Endpoint Default 24 200 001 icon

Acumatica API - Endpoint Default 24 200 001

Interact with Acumatica Endpoint Default/24.200.001

Actions478

Attribute Definition → Insert/Update

AI-generated

Summary

Upserts an Acumatica attribute definition and its associated values.

Inputs

  • Values (required) — A fixed collection of value records. Each record includes ValueID (unique identifier), Description, Disabled (boolean), and SortOrder (numeric).
  • Additional Fields — A dynamic collection of additional fields for the attribute definition, such as AttributeID, ControlType, Description, CreatedDateTime, and Internal.

Output shape

The created or updated attribute definition item with its values.

The operation uses Acumatica's upsert logic; it creates a new record if the AttributeID does not exist and updates it otherwise.

Examples

Example 1: Create a new attribute with a list of values.

Set AttributeID, Description, and ControlType in Additional Fields; add multiple Value entries with ValueID, Description, and SortOrder.

Example 2: Update an existing attribute by providing the AttributeID.

Provide the AttributeID in Additional Fields to identify the record to update; include the updated Values.

Links

Discussion