Why rest api not offer the automatic discount endpoints?

Hoswey
New Member
3 0 0

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

0 Likes

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

If helpful, please Like and Accept Solution.
if you Want to modify or Customize your theme ,
Hire us | Whatsapp. and we also help you to guide how to reach to your potential customers to increase brand presence, engagements and sales for your business or Want to know more. Read our Shopify Blogs.Email us: sales@zworthkey.com
Buy me a coffee ☕ Donate Us
Hoswey
New Member
3 0 0

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

0 Likes