Acumatica API - Endpoint Default 23 200 001 icon

Acumatica API - Endpoint Default 23 200 001

Interact with Acumatica Endpoint Default/23.200.001

Actions478

Lot Serial Class → Insert/Update

AI-generated

Summary

Insert or update a Lot Serial Class record

Inputs

  • Segments (required) — Array of segment objects, each containing a SegmentNbr (with a numeric value), a Type, and a Value string; used to define hierarchical segment data.
  • additionalFields — Optional collection of extra class attributes such as ClassID, Description, IssueMethod, TrackExpirationDate, and TrackingMethod.

Output shape

a single Lot Serial Class record

Returns the created or updated record; may include framework fields like id, and errors are reported via HTTP status rather than in the response body.

Examples

Example 1: Create a new Lot Serial Class with one segment

Segments: [{SegmentNbr: {value: 1}, Type: "A", Value: "X"}], additionalFields: {ClassID: "LSC001", Description: "Test class", TrackExpirationDate: true}

Example 2: Update an existing class by providing only additional fields

additionalFields: {ClassID: "LSC001", Description: "Updated description"}

Example 3: Upsert multiple segments in one call

Segments: [{SegmentNbr: {value: 1}, Type: "A", Value: "10"}, {SegmentNbr: {value: 2}, Type: "B", Value: "20"}], additionalFields: {ClassID: "LSC002"}

Links

Discussion