Acumatica API - Endpoint Default 25 200 001 icon

Acumatica API - Endpoint Default 25 200 001

Interact with Acumatica Endpoint Default/25.200.001

Actions478

Discount → Insert/Update

AI-generated

Summary

Insert or update a Discount record in Acumatica by specifying various discount-related fields, including associated customers, items, price classes, warehouses, and discount breakpoints.

Inputs

  • Customer Price Classes — Multiple entries each with a unique Price Class ID to associate customer price classes with the discount.
  • Customers — Multiple customers to link to the discount, each with a unique Customer ID and optionally a Customer Name.
  • Discount Breakpoints — A collection of breakpoints defining discount quantities, amounts, percents, effective dates, and related details.
  • Item Price Classes — Multiple entries with unique Price Class IDs to associate item price classes with the discount.
  • Items — Multiple items, each defined by Inventory ID and an optional Description, to associate with the discount.
  • Warehouses — Multiple warehouse identifiers to associate with the discount.
  • Additional Fields — Optional fields including active status, break/discount criteria, dates, promotional flags, and descriptive metadata.

Output shape

a single record representing the inserted or updated Discount resource

The operation removes default/empty values before sending to Acumatica to avoid errors. The output contains the resulting Discount data after insert or update. No pagination applies as this operates on a single Discount entity.

Examples

Example 1: Add a new discount with specific customer and item associations

Specify Customer Price Classes and Items collections along with discount details in Additional Fields.

Links

Discussion