Is there any API for creating and editing catalog price rules in Magento 2.2.x

by Irfan Khan   Last Updated January 04, 2018 15:09 PM

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?



Related Questions



Cart price rule issue with Magento 2

Updated May 17, 2017 18:09 PM


Condition/Action Rule Price Validation Magento 2

Updated September 14, 2018 15:09 PM