--- title: Refunding orders with multiple shipping lines returns accurate data - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/refunding-orders-with-multiple-shipping-lines-returns-accurate-data md: https://shopify.dev/changelog/refunding-orders-with-multiple-shipping-lines-returns-accurate-data.md --- [Back to Developer changelog](https://shopify.dev/changelog) July 18, 2024 Tags: * Admin GraphQL API * Admin REST API * 2024-10 # Refunding orders with multiple shipping lines returns accurate data Orders with multiple [shipping lines](https://shopify.dev/docs/api/admin-graphql/2024-07/objects/Order#connection-shippinglines) may be refunded. You can refund shipping amounts using the [`refundCreate`](https://shopify.dev/docs/api/admin-graphql/2024-07/input-objects/RefundInput#field-refundinput-shipping) GraphQL mutation, the [`returnRefund`](https://shopify.dev/docs/api/admin-graphql/2024-07/input-objects/ReturnRefundInput#field-returnrefundinput-refundshipping) GraphQL mutation, or the [Refunds](https://shopify.dev/docs/api/admin-rest/2024-07/resources/refund) REST API. As of **July 18, 2024**, all Admin GraphQL API versions return accurate refunds data for orders with multiple shipping lines. 1. Shipping refunds will be included in the [`refundShippingLines`](https://shopify.dev/docs/api/admin-graphql/2024-07/objects/Refund#connection-refundshippinglines) connection, in addition to shipping lines removed via an order edit. 2. For each refunded shipping line, there will be an [`OrderAdjustment`](https://shopify.dev/docs/api/admin-graphql/unstable/objects/Refund#connection-orderadjustments) with kind [`SHIPPING_REFUND`](https://shopify.dev/docs/api/admin-graphql/unstable/enums/OrderAdjustmentKind#value-shippingrefund). Previously, there would be a single `OrderAdjustment` with kind `SHIPPING_REFUND` regardless of how many shipping lines were present on the order. 3. The `RefundAgreement` has multiple shipping line [sales](https://shopify.dev/docs/api/admin-graphql/2024-07/objects/RefundAgreement#connection-sales). Each [`ShippingLineSale`](https://shopify.dev/docs/api/admin-graphql/2024-07/objects/ShippingLineSale) corresponds to exactly one shipping line that was refunded. The [`ShippingLineSale.shippingLine`](https://shopify.dev/docs/api/admin-graphql/2024-07/objects/ShippingLineSale#field-shippinglinesale-shippingline) is now populated for all API versions for the [`RETURN`](https://shopify.dev/docs/api/admin-graphql/2024-07/enums/SaleActionType#value-return) action type. As of **July 18, 2024**, all REST API versions return accurate refunds data for orders with multiple shipping lines. 1. For each refunded shipping line, there will be an order adjustment with kind = `shipping_refund` in the [`order_adjustments`](https://shopify.dev/docs/api/admin-rest/2024-07/resources/refund#resource-object) property. Previously, there would be a single order adjustment with kind = `shipping_refund`, regardless of how many shipping lines were present on the order. Please note that `Refund.refundShippingLines` and `RefundAgreement.sales` are only available in the Admin GraphQL API. They are not present in the Admin REST API.