Getting discount information

Orders with a discount attached contain an AppliedDiscounts object that contains an array of AppliedDiscount objects. The information in an AppliedDiscount object varies depending on the type of discount submitted.

All AppliedDiscount objects may contain a corresponding discount GUID, a discountAmount value, or both. To handle all discounts, ensure your integration can handle any combination of these values. For more information about discounts containing a GUID, see Working with order discounts.