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 - ...
      • How can I check which delivery options the Shipping Rules extension is compatible with?

        The shipping methods present in the Magento Admin Panel → Stores → Configuration → Sales → Shipping Methods tab will also be available for selection in the Shipping Carriers and Methods dropdown that you see when creating a shipping rule: If some of ...
      • 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 ...