Why rest api not offer the automatic discount endpoints?

Hoswey
Visitor
3 0 1

Hi. Hep. From the rest api of discount section, I found that we can create a  price rule and bind a discount code to it. But when I want to create an automatic discount. I can't find any api. Anything missing?
https://shopify.dev/api/admin-rest/2021-07/resources/discountcode#[post]/admin/api/2021-07/price_rul...
https://shopify.dev/api/admin-rest/2021-07/resources/pricerule

Replies 3 (3)

Zworthkey
Shopify Partner
5581 642 1565

hii, @Hoswey 
where you are using rest API for the discount coupons.
Thank You.

Hoswey
Visitor
3 0 1

Hi. @Zworthkey Do you mean the business case?  I am developing a shopify app and provide some function to create the automatic discounts.

wafturerobin
Shopify Partner
1 0 0

Automatically applied discounts at checkout?