Request a Quote | GraphQL methods

Request a Quote | GraphQL methods

Queries

  1. isQuoteCartEnabled
    description: check if request a quote is enabled. Includes check for customer group

  2. quoteCart (cartId: String!)
    description: return information about the specified shopping cart

  3. customerQuoteCart 
    description: return information about the customer's quote cart

Mutations

  1. createEmptyQuoteCart (input: createEmptyQuoteCartInput)
    description: create an empty quote cart for a guest or logged in user

  2. addProductsToQuoteCart (quoteId: String!)
    description: add any type of product to the quote cart

  3. updateQuoteRemarks (quoteId: String!)
    description: update customer remarks

  4. removeItemFromQuoteCart (input: RemoveItemFromCartInput)
    description: delete the entire quantity of a specified item from the quote cart


  5. updateQuoteItemsInCart (input: UpdateQuoteItemsInput)
    description: modify items in the cart

  6. clearQuote (quoteId: String) 
    description: remove all quote items from quote cart

  7. submitQuote (input: SubmitQuoteInput)
    description: submit quote
  1. mergeQuotes (sourceQuoteId: String!)-
    description: transfer the contents of a guest quote into the cart of a logged-in customer

  2. removeQuoteFromCart (cartId: String!)
    description: remove all quote items, which moved to cart

  3. moveInCart (quoteUid: String!)
    description: move approved quote to shopping cart

  4. moveInQuote (quoteId: String!)
    description: move items from shopping cart to current quote

  5. cancelQuote (quoteUid: String!)
    description: cancel quote

      • Related Articles

      • Request a Quote API

        1. Amasty\RequestQuote\Api\RemarkServiceInterface: PUT /V1/amasty_quote/updateRemark, method="save" - add information to the Remark field. 2. Amasty\RequestQuote\Api\QuoteRepositoryInterface - class for managing quotes: PUT ...
      • What Amasty extensions support GraphQL?

        Amasty has introduced additional GraphQL packages for extensions that are GraphQL compatible. These packages are listed in the 'suggest' section of the composer.json file. As a result, they are not automatically installed with the main module. To ...
      • Multiple Coupons | GraphQL methods

        Kindly note that the GraphQL functionality for Multiple Coupons is available as a part of an active product subscription or support subscription. Query amGetCouponsByCartId description: get coupons by cart id Mutations amApplyCouponsToCart ...
      • RMA | GraphQL methods

        Quries getAmRmaSettings description: a list of customer's return requests getAmRmaReturnsForCurrentCustomer description: get a list of customer's return requests getAmRmaReturnById (request_id: Int!) description: get Return Request by ID ...
      • GDPR | GraphQL methods

        Queries amGetGdprConsents (location: String) description: information about GDRP consents amGetGdprAccount description: information about GDPR account settings amGetGdprPolicyText (id: Int) description: get GDPR policy text Mutations ...