Rest api Discounts/count

ndingass
New Member
1 0 0

Is there an api I can use to get the number of Discount Codes created per Price Rule? I want to get a count of all discounts per price rule.

something similar to /admin/api/2021-10/products/632910392/variants/count.json say /admin/api/2021-10/price_rules/1226262/discounts/count.json?

Thanks

Replies 0 (0)