RefundLineItem object

Represents the details about a refunded line item.

Required access

read_orders access scope.

On this page

Fields

  • lineItem ([LineItem!](https://shopify.dev/docs/admin-api/graphql/reference/orders/lineitem))
    Returns a LineItem resource. This represents the LineItem in the non-refund context.
  • location ([Location](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/location))
    The inventory restock location.
  • priceSet ([MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
    Returns the price of a refunded line item in shop and presentment currencies.
  • quantity ([Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
    Returns the quantity of a refunded line item.
  • restockType ([RefundLineItemRestockType!](https://shopify.dev/docs/admin-api/graphql/reference/orders/refundlineitemrestocktype))
    Represents the type of restock for the refunded line item.
  • restocked ([Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
    Whether the refunded line item was restocked. Not applicable in the context of a SuggestedRefund.
  • subtotalSet ([MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
    Returns the subtotal price of a refunded line item in shop and presentment currencies.
  • totalTaxSet ([MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
    Returns the total tax charged on a refunded line item in shop and presentment currencies.

Types that return RefundLineItem

  • [Refund.refundLineItems](https://shopify.dev/docs/admin-api/graphql/reference/orders/refund#refundlineitems-2021-01)
  • [SuggestedRefund.refundLineItems](https://shopify.dev/docs/admin-api/graphql/reference/orders/suggestedrefund#refundlineitems-2021-01)

Deprecated fields

Show/Hide

An auto-generated type for paginating through multiple RefundLineItems.

On this page

Fields

  • edges ([[RefundLineItemEdge!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/refundlineitem))
    A list of edges.
  • pageInfo ([PageInfo!](https://shopify.dev/docs/admin-api/graphql/reference/pageinfo))
    Information to aid in pagination.

An auto-generated type which holds one RefundLineItem and a cursor during pagination.

On this page

Fields

  • cursor ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    A cursor for use in pagination.
  • node ([RefundLineItem!](https://shopify.dev/docs/admin-api/graphql/reference/orders/refundlineitem))
    The item at the end of RefundLineItemEdge.

Types that return RefundLineItemEdge

  • [RefundLineItemConnection.edges](https://shopify.dev/docs/admin-api/graphql/reference/orders/refundlineitem#edges-2021-01)