Delivery Date Manager API

Delivery Date Manager API

1. Amasty\DeliveryDateManager\Api\DeliveryGuestQuoteServiceInterface - class for managing delivery data from guest carts.
  1. GET /V1/guest-carts/:cartId/quote-address-id/:quoteAddressId/get-delivery-date, method="getFromQuoteAddressId" - get delivery date for a guest cart;
  2. POST /V1/guest-carts/:cartId/set-delivery-date, method="saveForQuoteAddress" - set delivery date for a guest cart; 
  3. POST /V1/guest-carts/:cartId/validate-delivery-date, method="validate" - validate delivery date for a guest cart.

2. Amasty\DeliveryDateManager\Api\DeliveryQuoteServiceInterfaceclass for managing delivery data from registered customers' carts.
  1. GET /V1/carts/mine/get-delivery-date, method="getFromQuoteAddressId" - get delivery date by cart ID;
  2. POST /V1/carts/mine/set-delivery-date, method="saveForQuoteAddress" - set delivery date for a cart by its ID;
  3. POST /V1/carts/mine/validate-delivery-date, method="validate" - validate delivery date for a cart.

      • Related Articles

      • How to change the format of the delivery date?

        Starting from version 2.11.0, the delivery date format on the frontend is displayed according to the selected store locale in Magento configurations: Stores → Configuration → General → General → Locale Options → Locale. For lower versions, the format ...
      • Cash on Delivery API

        Amasty\CashOnDelivery\Api\PaymentManagementInterface: POST /V1/cash_on_delivery/checkAvailable/:postalCode, method="checkAvailable" - check whether the Cash On Delivery payment method is available for a specific postcode.
      • 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 - ...
      • One Step Checkout API

        1. Amasty\Checkout\Api\AdditionalFieldsManagementInterface - class for managing additional fields for logged-in users: POST /V1/amasty_checkout/carts/:cartId/amcheckoutFields, method="save" - save a field for a specific cart by ID; POST ...
      • 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 ...