question

dev-1 avatar image
dev-1 asked Miguel Deactivated answered

problem in discount by line_items

I want to fetch discount amount in order item wise I used (orders/GAAQ02DNJEBF4/lineitems/NVJGJ6G42VG20/discounts , merchants/ M42ZHS6PR2MFG /inventory/discounts, and orders/GAAQ02DNJEBF4/lineitems/NVJGJ6G42VG20? ?expand=discounts ) but no result is found. Please help to resolved this issues. Thanks & Regard Dev Brat Tripathi

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Miguel avatar image
Miguel Deactivated answered

To see order discounts and line item discounts for a single order, you should use v3/merchants/{mId}/orders/{orderId}/discounts

You can find more info on our endpoints in our REST API docs.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community