{"data":{"id":"ACSD-60326","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where an error occurs on GraphQL query for customer return status.","categories":["GraphQL","Order/Checkout"],"components":["magento/module-rma-graph-ql"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-51/acsd-60326-graphql-query-error-customer-return-status","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-51/acsd-60326-graphql-query-error-customer-return-status.md","blobSha":"9f527403950172de0e42c511ae8cec132af1c315","description":"GraphQL query on customer Returns status gives an error.","stepsToReproduce":"1. Initialize a fresh instance with sample data. 1. On the Admin sidebar, go to Stores > Settings > Configuration > Sales > RMA Settings and set Enable RMA on Storefront to Yes. 1. Go to Sales > Shipping Settings > Origin and fill out the address. 1. Change the password for the customer roni_cost@example.com. 1. Log in to the admin panel and place an order for the customer roni_cost@example.com with the following products: * WSH12-32-Red * WSH12-32-Purple * WSH12-32-Green 1. Create an Invoice and Shipment for this order. 1. Select Create Returns. 1. Go to Return Items > Add Items and: * Select WSH12-32-Red and WSH12-32-Purple * Click Add Selected Products to returns: * Set Requested = 1 * Set Return Reason to Out of Service * Set Item Condition to Opened * Set Resolution to Refund * Click Submit Returns. 1. Open Returns and select Return Items on the left. * Set Authorized = 1 for both the products * Set Status as Authorized for WSH12-32-Purple * Set Status as Denied for WSH12-32-Red * Click Save 1. Create a new order with the same products. 1. Create an Invoice, Shipment, and Returns for the same products. Authorize both and proceed until the end of the Returns process. 1. Generate a customer token using the following GraphQL query: mutation { generateCustomerToken(email: \"roni_cost@example.com\", password: \"password\") { token } } 1. Authorize with the received token and perform following query: { customer { returns(pageSize: 20, currentPage: 1) { total_count items { uid number status created_at } } } }","introducedInQpt":"1.1.51","createdFor":["2.4.6-p2"],"documentedRange":"2.4.4 - 2.4.7-p2","scheduledFixRelease":"2.4.8"},"files":[{"package":"magento/magento2-ee-base","constraint":">=2.4.4 <2.4.8","path":"patches/commerce/ACSD-60326_2.4.6-p2.patch","blobSha":"9ca32b0f866c405e6a950aaff1759e7abb0dc9ce","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-60326_2.4.6-p2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-rma-graph-ql/etc/graphql/di.xml","change":"modified","package":"magento/module-rma-graph-ql"}],"packages":["magento/module-rma-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/exception.log","match":"Expected a value of type ReturnStatus but received: (empty string). Cannot serialize value as enum"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-60326 details"}