Shipping Rules API

Shipping Rules API

Amasty\Shiprules\Api\RuleRepositoryInterface - class for managing shipping rules in backend:
  1. POST /V1/amasty_shiprules/rule, method="save" - create a rule;
  2. PUT /V1/amasty_shiprules/rule/:ruleId, method="save" - edit a rule;
  3. DELETE /V1/amasty_shiprules/rule/:ruleId, method="deleteById" - delete a rule;
  4. GET /V1/amasty_shiprules/rule, method="getById" - get information about a rule;
  5. GET /V1/amasty_shiprules/rule/all, method="getList" - get a list with all rules.


      • Related Articles

      • Advanced Conditions API (+Reward Points, Extra Fee, Free Gift, Shipping Rules, Shipping Restrictions)

        Advanced Conditions can be purchased both separately and within other Amasty modules: Reward Points, Extra Fee, Free Gift, Shipping Rules, Shipping Restrictions. The Advanced Conditions extension adds its functionality to the main modules, which ...
      • What Amasty extensions support API?

        Each Amasty extension that has API support, includes the etc/webapi.xml file. The webapi.xml file contains API configurations with the list of available API requests. For example, a request from the Custom Form module interface: 1 - endpoint URL; 2 - ...
      • Free Shipping Bar API

        Amasty\ShippingBar\Api\BarManagementInterface: POST /V1/amasty_shipbar/mine/bar/data, method="getFilledData" - get all the information about a free shipping bar on the frontend.
      • Store Pickup API

        1. Amasty\StorePickup\Api\GuestShippingMethodManagementInterface - class for managing shipping methods on guest checkout: POST /V1/guest-carts/:cartId/estimate-shipping-methods, method="estimateByExtendedAddress" - displays available shipping methods ...
      • Reward Points API

        1. Amasty\Rewards\Api\CheckoutRewardsManagementInterface - class responsible for applying reward points on checkout: PUT /V1/carts/mine/points/:points, method="set" - apply points; DELETE /V1/carts/mine/points/delete, method="remove" - remove applied ...