RMA | GraphQL methods

RMA | GraphQL methods

Quries

  1. getAmRmaSettings
    description: a list of customer's return requests


  2. getAmRmaReturnsForCurrentCustomer
    description: get a list of customer's return requests
        
  3. getAmRmaReturnById (request_id: Int!) 
    description: get Return Request by ID
      
  4. getAmRmaOrderList
    description: get a list of customer's returnable orders

  5. getAmRmaPolicy
    description: get return policy page
      
  6. getAmRmaReturnInstruction (status_id: Int!)
    description: get return request instructions for coresponding status

  7. getAmRmaRequestMessages (hash: String!, last_message_id: Int)
    description: return request chat messages

Mutations

  1. placeAmRmaCustomerReturnRequest (input: PlaceAmRmaReturnRequestInput)
    description: place new RMA return request

  2. closeAmRmaCustomerReturnRequest (id: Int!)
    description: cancel RMA return request for current customer

  3. rateAmRmaReturnRequest (input: RateAmRmaReturnRequest)
    description: rate return request

  4. sendAmRmaMessage (input: SendAmRmaMessageInput)
    description: send message to chat

  5. deleteAmRmaMessage (input: DeleteAmRmaMessageInput)
    description: delete message from chat

  6. deleteAmRmaMessageFile (filehash: String!)
    description: delete file attached to message

  7. addAmRmaTrackingNumber (input: AddAmRmaTrackingNumberInput)
    description: add tracking number to return request

  8. removeAmRmaTrackingNumber (input: RemoveAmRmaTrackingNumberInput)
    description: remove tracking number attached to return request
      • Related Articles

      • 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 ...
      • Improved Layered Navigation | GraphQL methods

        The Improved Layered Navigation extension doesn't have its own GraphQL requests. Instead, it extends the default Magento requests by introducing supplementary details. You can get additional information stored by the Improved Layered Navigation ...
      • 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 ...
      • 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 ...