One Step Checkout API

One Step Checkout API

1. Amasty\Checkout\Api\AdditionalFieldsManagementInterface - class for managing additional fields for logged-in users:
  1. POST /V1/amasty_checkout/carts/:cartId/amcheckoutFields, method="save" - save a field for a specific cart by ID;
  2. POST /V1/amasty_checkout/carts/mine/amcheckoutFields, method="save" - save a field for the current cart.

2. Amasty\Checkout\Api\GuestAdditionalFieldsManagementInterface - class for managing additional fields for guests:
  1. POST /V1/amasty_checkout/guest-carts/:cartId/amcheckoutFields, method="save" - save a field for a guest cart.

3. Amasty\Checkout\Api\GiftMessageInformationManagementInterface - class for managing gift messages for logged-in users:
  1. POST /V1/amasty_checkout/carts/:cartId/gift-message, method="update" - save a gift message for a specific cart by ID;
  2. POST /V1/amasty_checkout/carts/mine/gift-message, method="update" - save a gift message in the current cart.

4. Amasty\Checkout\Api\GuestGiftMessageInformationManagementInterfaceclass for managing gift messages for guest users:
  1. POST /V1/amasty_checkout/guest-carts/:cartId/gift-message, method="update" - save a gift message in a guest cart. 

5. Amasty\Checkout\Api\GiftWrapInformationManagementInterface - class for managing gift wrap for registered users:
  1. POST /V1/amasty_checkout/carts/:cartId/gift-wrap, method="update" - save a gift wrap in a specific cart by ID;
  2. POST /V1/amasty_checkout/carts/mine/gift-wrap, method="update" - save a gift wrap in the current cart.

6. Amasty\Checkout\Api\GuestGiftWrapInformationManagementInterface - class for managing gift wraps for guests:
  1. POST /V1/amasty_checkout/guest-carts/:cartId/gift-wrap, method="update" - save a gift wrap in a guest cart.

7. Amasty\Checkout\Api\DeliveryInformationManagementInterface - class responsible for delivery date for logged-in customers:
  1. POST /V1/amasty_checkout/carts/:cartId/delivery, method="update" - save delivery date in a specific cart by ID;
  2. POST /V1/amasty_checkout/carts/mine/delivery, method="update" - save delivery date in the current cart.

8. Amasty\Checkout\Api\GuestDeliveryInformationManagementInterface - managing delivery date for guest users:
  1. POST /V1/amasty_checkout/guest-carts/:cartId/delivery, method="update" - save delivery date in a guest cart.

9. Amasty\Checkout\Api\ItemManagementInterface - class for managing products in carts of logged-in users:
  1. POST /V1/amasty_checkout/carts/:cartId/remove-item, method="remove" - remove a product from a specific cart by ID;
  2. POST /V1/amasty_checkout/carts/mine/remove-item, method="remove" - remove a product from the current cart;
  3. POST /V1/amasty_checkout/carts/:cartId/update-item, method="update" - edit a product in a specific cart by ID;
  4. POST /V1/amasty_checkout/carts/mine/update-item, method="update" - edit a product in the current cart.

10. Amasty\Checkout\Api\GuestItemManagementInterface - class for managing products in guest carts:
  1. POST /V1/amasty_checkout/guest-carts/:cartId/remove-item, method="remove" - remove a product from a guest cart;
  2. POST /V1/amasty_checkout/guest-carts/:cartId/update-item, method="update" - edit a product in a guest cart.

11. Amasty\Checkout\Api\AccountManagementInterface - class for managing customer account information:
  1. POST /V1/amasty_checkout/guest-carts/:cartId/save-password, method="savePassword" - create a guest account on checkount and save a password.

12. Amasty\Checkout\Api\GuestQuoteManagementInterface - class for managing guest quotes:
  1. POST /V1/checkout/:cartId/saveInsertedInfo, method="saveInsertedInfo" - save a quote for a guest by its ID.

13. Amasty\Checkout\Api\QuoteManagementInterface - class for managing quotes of logged-in users:
  1. POST /V1/checkout/saveInsertedInfo, method="saveInsertedInfo" - save the current quote of a registered customer.

14. Amasty\Checkout\Api\MergeJsInterface - class for managing JS bunling:
  1. POST /V1/amasty_checkout/js/create-bundle, method="createBundle" - create JS bundling for specific files.
      • Related Articles

      • One Step Checkout | GraphQL methods

        Queries getAdditionalFields (cartId: String!) description: get information about additional fields getDefaultIpData description: get information about default IP address getAvailableShippingMethods (cartId: String!) description: get the information ...
      • What features are included in each tariff plan of One Step Checkout?

        LITE One Step Checkout extension - all checkout sections on one page; - customizable design (layout, color scheme, address formatting, default values); - delivery options: delivery date calendar, delivery time interval, delivery comment; - Google ...
      • One Step Checkout does not appear on Hyva theme. What should I do?

        To ensure the compatibility of One Step Checkout extension with Hyva, please follow the below steps: Step 1. Install the Hyva compatibility packages, that can be accessed via composer: composer ...
      • 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 - ...
      • Is One Step Checkout compatible with default Magento In-Store Pickup delivery method?

        One Step Checkout Pro and Premium versions are compatible with In-Store Pickup delivery method through a separate compatibility package. To install it via composer, simply use the following command: composer require ...