question

usman avatar image
usman asked usman commented

Getting a list of possible Discounts from the API

Hello -

Is there a way to get all the possible discounts from the API? Right now, I can only see discounts that are associated with orders - what we need to see is all possible discounts. Is there a way to do so?

OrdersDiscounts
2 comments
10 |2000

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

sam avatar image sam commented ·

Could you specify what you mean by all discounts? Discounts do not exist independent of an order.

0 Likes 0 ·
usman avatar image usman commented ·

For example to get all items for a merchant there is

GET /v3/merchants/{mId}/items - there is a high level to get all of the items

is there something analagous to GET /v3/merchants/{mId}/discounts - to get all discounts for a merchant?

I realize there are discounts that can be applied to orders; but is there a place where all the possible discounts reside?

0 Likes 0 ·

1 Answer

sam avatar image
sam Deactivated answered

At the moment, there is not endpoint to GET {mid}/discounts.

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