RefundLineItem

Required access

read_orders access scope

Represents the details about a refunded line item.

Show definition
# Represents the details about a refunded line item.
type RefundLineItem {
  # Returns a LineItem resource. This represents the LineItem in the non-refund context.
  lineItem: LineItem!

  # The inventory restock location.
  location: Location

  # Returns the price of a refunded line item.
  price: Money!

  # Returns the quantity of a refunded line item.
  quantity: Int!

  # Represents the type of restock for the refunded line item.
  refundType: RefundLineItemRefundType!

  # Represents the type of restock for the refunded line item.
  restockType: RefundLineItemRestockType!

  # Whether the refunded line item was restocked. Not applicable in the context of a SuggestedRefund.
  restocked: Boolean!

  # Returns the subtotal price of a refunded line item.
  subtotal: Money!

  # Returns the total tax charged on a refunded line item.
  totalTax: Money!
}

Fields

lineItem   (LineItem!)

Returns a LineItem resource. This represents the LineItem in the non-refund context.

location   (Location)

The inventory restock location.

price   (Money!)

Returns the price of a refunded line item.

quantity   (Int!)

Returns the quantity of a refunded line item.

restockType   (RefundLineItemRestockType!)

Represents the type of restock for the refunded line item.

restocked   (Boolean!)

Whether the refunded line item was restocked. Not applicable in the context of a SuggestedRefund.

subtotal   (Money!)

Returns the subtotal price of a refunded line item.

totalTax   (Money!)

Returns the total tax charged on a refunded line item.

Deprecated fields

Show/Hide

refundType   (RefundLineItemRefundType!)

deprecated

Represents the type of restock for the refunded line item.

Deprecation warning

Use restockType instead

Sign up for a Partner account to get started.

Sign up