Countdown Timer API

Countdown Timer API

Amasty\PromoCountdown\Api\Service\DateDifferenceInterface - class for calculating the difference between the dates:
  1. POST /V1/promo-countdown/service/date/difference, method="getDifference" - calculate the difference between the current date and the promotion end date.

      • Related Articles

      • 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 - ...
      • 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 ...
      • Payments with Stripe API

        1. Amasty\Stripe\Api\Quote\ApplePayGuestShippingMethodManagementInterface - class for managing shipping methods for guest users: POST /V1/guest-carts/:cartId/estimate-shipping-methods-apple-pay, method="estimateByExtendedAddress" - display the list ...
      • Order Archive API

        Amasty\Orderarchive\Api\ArchiveProcessorInterface - class for managing order archives in backend: POST /V1/amastyMoveToArchive, method="moveToArchive" - move an order to archive; POST /V1/amastyMoveFromArchive, method="removeFromArchive" - remove an ...