1

I want API endpoints that give me all available catalog price rules in Magento 2. enter image description here

  • @Aaditya It gives Cart Price Rules but i want Catalog Price Rules. Please see screen shots. – Divyarajsinh Mar 13 '19 at 8:52
  • I think there's no endpoint for that one – fmsthird Mar 13 '19 at 9:29
  • 1
    Hello @Divyarajsinh While searching I got to know that although there is an API to handle shopping cart price rules, there is none to handle catalog price rules. And In product details API Check /V1/products/{sku} rest api is not working as well for Catalog rule applied price should come in special_price. – Aditya Shah Mar 13 '19 at 9:39
  • @Divyarajsinh Have you got any solution for this ? Or do you created any custom API for this ? – Aditya Shah Mar 18 '19 at 6:38
0

did you check magento docoument ? it lists all available API's and end points :

https://devdocs.magento.com/guides/v2.2/rest/list.html

And Sales Rules endpoints are :

GET /V1/salesRules/:ruleId

GET /V1/salesRules/search

  • 2
    I know these endpoints. It gives Cart Price Rules but i want Catalog Price Rules. Please see screen shots. – Divyarajsinh Mar 13 '19 at 8:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.