2

I needed to perform this task for a customer where I have to create, edit and delete catalog price rules in his magento site based on some backend functionality in another system he runs internally in his organization. While searching I got to know that although there is an API to handle shopping cart price rules:

    GET    /V1/salesRules/:ruleId
    GET    /V1/salesRules/search
    POST   /V1/salesRules        
    PUT    /V1/salesRules/:ruleId
    DELETE /V1/salesRules/:ruleId

(ref)

there is none to handle catalog price rules (as mentioned here)

Is there possible solution or will it require creation of custom API to handle these rules?

0

It is possible to create a custom solution for handling catalog price rules via api.

Please find the below link for Reference.

http://mydons.com/magento-2-catalog-price-rule-in-rest-api/

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.