Request a Quote API

Request a Quote API

1. Amasty\RequestQuote\Api\RemarkServiceInterface:
  1. PUT /V1/amasty_quote/updateRemark, method="save" - add information to the Remark field.

2. Amasty\RequestQuote\Api\QuoteRepositoryInterface - class for managing quotes:
  1. PUT /V1/amasty_quote/approve/:quoteId, method="approve" - approve a quote;
  2. PUT /V1/amasty_quote/expire/:quoteId, method="expire" - mark a quote as expired;
  3. GET /V1/amasty_quote/search, method="getRequestsList" - get a list of all requests;
  4. PUT /V1/amasty_quote/quote/note/customer:quoteId, method="addCustomerNote" - add customer comment to the quote;
  5. PUT /V1/amasty_quote/quote/note/admin:quoteId, method="addAdminNote" - add admin comment to the quote.

3. Amasty\RequestQuote\Api\QuoteItemRepositoryInterface - class for managing quote items:
  1. PUT /V1/amasty_quote/quote_item/note/customer:quoteId, method="addCustomerNote" - add customer comment to a quote item;
  2. PUT /V1/amasty_quote/quote_item/note/admin:quoteId, method="addAdminNote" - add admin comment to a quote item;
  3. GET /V1/quote-carts/:quoteId/items, method="getList" - get list of quote items;
  4. POST /V1/quote-carts/:quoteId/items, method="save" - save quote items;
  5. DELETE /V1/quote-carts/:quoteId/items/:itemId, method="deleteById" - delete items from the quote cart;
  6. GET /V1/quote-carts/mine/items, method="getList" - get list of my quote cart items.

4. Amasty\RequestQuote\Api\QuoteManagementInterface - class for managing quote carts:
  1. POST /V1/quote-carts, method="createEmptyQuoteCart" - create an empty quote cart;
  2. POST /V1/customers/:customerId/quote-carts, method="createEmptyQuoteCartForCustomer" - create an empty quote cart by customer ID;
  3. PUT /V1/quote-carts/:quoteId, method="assignCustomer" - assign a customer to a quote;
  4. POST /V1/quote-carts/mine, method="createEmptyQuoteCartForCustomer" - create an empty quote cart;
  5. GET /V1/quote-carts/mine, method="getQuoteCartForCustomer" - get info about a quote cart;
  6. POST /V1/quote-carts/:quoteId/in-cart, method="moveInCart" - move items to cart;
  7. POST /V1/quote-carts/mine/in-quote, method="moveInQuote" - move items to quote cart;
  8. PUT /V1/quote-carts/mine/update-customer-note, method="updateCustomerNote" - edit customer quote cart note;
  9. DELETE /V1/quote-carts/mine/clear, method="clear" - clear quote cart.

5. Amasty\RequestQuote\Api\QuoteItemManagementInterface
  1. POST /V1/quote-carts/mine/items, method="save" - save items in my quote cart;
  2. PUT /V1/quote-carts/mine/items/:itemId, method="save" - save an item in my quote cart.

6. Amasty\RequestQuote\Api\QuoteServiceInterface:
  1. PUT V1/quote-carts/:quoteId/cancel, method="cancelQuote" - cancel a quote request;
  2. PUT /V1/quote-carts/mine/submit, method="submit" - submit my quote request.

7. Amasty\RequestQuote\Api\CartManagementInterface
  1. DELETE /V1/quote-carts/mine/remove-from-cart, method="removeQuoteFromCart" - remove quote from my cart.

8. Amasty\RequestQuote\Api\GuestQuoteManagementInterface
  1. POST /V1/guest-quote-carts, method="createEmptyQuoteCart" - create an empty quote cart for a guest customer;
  2. GET /V1/guest-quote-carts/:quoteMaskId, method="get" - get info about a guest quote cart;
  3. POST /V1/guest-quote-carts/:cartMaskId/in-quote/:quoteMaskId, method="moveInQuote" - move quest cart to quote;
  4. PUT /V1/guest-quote-carts/:quoteMaskId, method="assignCustomer" - assign a customer to a quest cart;
  5. PUT /V1/guest-quote-carts/:quoteMaskId/update-customer-info, method="updateCustomerNote" - update quest customer info in quote;
  6. DELETE /V1/guest-quote-carts/:quoteMaskId/clear, method="clear" - clear guest quote;
  7. PUT /V1/guest-quote-carts/:quoteMaskId/submit, method="submit" - submit guest quote cart.

9. Amasty\RequestQuote\Api\GuestQuoteItemRepositoryInterface
  1. GET /V1/guest-quote-carts/:quoteMaskId/items, method="getList" - get list of items in a quest quote cart;
  2. POST /V1/guest-quote-carts/:quoteMaskId/items, method="save" - save guest quote cart items;
  3. DELETE /V1/guest-quote-carts/:quoteMaskId/items/:itemId, method="deleteById" - delete an item from guest quote cart.

10. Amasty\RequestQuote\Api\GuestQuoteItemManagementInterface
  1. PUT /V1/guest-quote-carts/:quoteMaskId/items/:itemId, method="save" - save an item in guest quote cart.

11. Amasty\RequestQuote\Api\AccountManagementInterface
  1. GET /V1/amasty_quote/isEmailAvailable/:customerEmail, method="isEmailAvailable" - get info about customer email notification.
      • Related Articles

      • Request a Quote | GraphQL methods

        Queries isQuoteCartEnabled description: check if request a quote is enabled. Includes check for customer group quoteCart (cartId: String!) description: return information about the specified shopping cart customerQuoteCart description: return ...
      • 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 - ...
      • 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 ...
      • Gift Card API

        1. Amasty\GiftCard\Api\ImageRepositoryInterface - class for managing gift card images: POST /V1/amgcard/image, method="save" - save a gift card image; PUT /V1/amgcard/image/:id, method="save" - save a gift card image by ID; DELETE ...
      • I want to change logo and text on the PDF in Request a quote plugin. How do I do that?

        Kindly note that PNG files are not suitable for logo replacement. For this operation, please use an SVG file converted to base64 encoding. Please follow the steps below to replace the logo image and edit the text on the PDF. Step 1. Head to Amasty → ...