Discount REST Endpoints

v1/Sales/Discounts/Discount

These APIs maintain Discounts:

Release Description
23.3 The Simphony-OrgShortName parameter is deprecated. The authentication token contains the organization access details.
23.4
  • Starting with the API release 23.4
    • Two new fields have been introduced to support Discounts by Order Type and Order Channel:
      • orderTypeRestrictions
      • orderChannelRestrictions
      These fields are only supported in Simphony 19.7 and above.
    • Introduced a new field "constraintType" within "autoRule".
  • 23.5 Introduced two new fields for external references. These fields are supported starting from Simphony Version 19.8
    Add Discounts
    Method: post
    Path: /config/sim/v1/sales/discounts
    Delete Discounts
    Method: post
    Path: /config/sim/v1/sales/deleteDiscounts
    Get Discounts
    Method: post
    Path: /config/sim/v1/sales/getDiscounts
    Update Discounts
    Method: post
    Path: /config/sim/v1/sales/updateDiscounts