Home > @infiniteobjects/shopify-data-manager > AdminTypes > Refund
The record of the line items and transactions that were refunded to a customer, along with restocking instructions for refunded line items.
Signature:
export interface Refund extends LegacyInteroperability, Node
Extends: LegacyInteroperability, Node
Property | Modifiers | Type | Description |
---|---|---|---|
createdAt? | Maybe<Scalars[‘DateTime’][‘output’]> | (Optional) The date and time when the refund was created. | |
duties? | Maybe<Array<RefundDuty>> | (Optional) A list of the refunded duties as part of this refund. | |
id | Scalars[‘ID’][‘output’] | A globally-unique ID. | |
legacyResourceId | Scalars[‘UnsignedInt64’][‘output’] | The ID of the corresponding resource in the REST Admin API. | |
note? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The optional note associated with the refund. | |
order | Order | The order associated with the refund. | |
refundLineItems | RefundLineItemConnection | The RefundLineItem resources attached to the refund. |
|
return? | Maybe<Return> | (Optional) The return associated with the refund. | |
staffMember? | Maybe<StaffMember> | (Optional) The staff member who created the refund. | |
totalRefunded | MoneyV2 | The total amount across all transactions for the refund. | |
totalRefundedSet | MoneyBag | The total amount across all transactions for the refund, in shop and presentment currencies. | |
transactions | OrderTransactionConnection | The transactions associated with the refund. | |
updatedAt | Scalars[‘DateTime’][‘output’] | The date and time when the refund was updated. |