Get List of Discounts applicable for a specific customer price class

  • 22 March 2022
  • 2 replies

Hi everyone,


Is there API where it can return the list of Discounts applicable for a specific customer given the Customer ID? And also the discounts applicable for a Customer price class, item class, item id, etc?


Thank you



Best answer by jinin 22 March 2022, 13:20

View original

2 replies

Userlevel 7
Badge +3

Hi @jib87 

I don't think we can get the details directly through the API. We can achieve this in an alternate way.

  1. Create GI with required Joins, conditions, and result grid fields
  2. Create an endpoint and add this GI as an entity.
  3. Make an API call for this

I have attached a sample package with GI and endpoint. Please review.


I am sorry for the late response. Yes, it works! I’m glad I am able to pull my discounts thru GI and custom endpoint. But I am not sure why it does pull all records, instead of returning only those based on the parameter I set on the request body.


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2022  Acumatica, Inc. All rights reserved