Acumatica API - Endpoint Default 24 200 001 icon

Acumatica API - Endpoint Default 24 200 001

Interact with Acumatica Endpoint Default/24.200.001

Actions478

Vendor Class → Insert/Update

AI-generated

Summary

Insert or update a Vendor Class entity in Acumatica using specified attributes and additional fields.

Inputs

  • Attributes — An array of Vendor Class attributes to set, each including Attribute ID, Description, Default Value, Active status, Required flag, and Sort Order.
  • Additional Fields — Optional Vendor Class metadata fields such as Class ID, Description, Created Date Time, and Last Modified Date Time.

Output shape

a single JSON object representing the created or updated Vendor Class record.

The output includes the Vendor Class data after insertion or update. The operation supports multiple attribute entries, and fields with default or empty values are stripped before sending to avoid API errors.

Examples

Example 1: To create a new Vendor Class named "Retail" with active attributes and specific sort orders, provide Attributes with each attribute's details, and optionally supply Additional Fields like Description and Class ID.

Set Attributes as a fixedCollection with multiple entries each containing active status, Attribute ID, default value, description, required flag, and a nested Sort Order value. Optionally include Additional Fields like Class ID and timestamps.

Links

Discussion