Discount Applications exposes line level discounts on the Order API

New Member
3 0 0

Hi all! Is there any way to check if the discount in order is from automatic discount or other source?

0 Likes
Shopify Partner
4 0 0

Thanks Shopify for the fix on Dec 11, 2018 so that now the Checkout object has the correct automatic discount data prior to the customer placing the order!

0 Likes
New Member
3 0 0

Hi all! Is there any way to check if the discount in order is from automatic discount or other source?

After more research I found answer for that. In order object there is field "discount_applications" and there is array with discount data. Automatic discount is listed there with "type: 'automatic'".

0 Likes