Refund object

Version 2020-01 (Release candidate)

Represents a refund of items or transactions in an order.

Required access

read_orders access scope

Connections

refundLineItems (RefundLineItemConnection!)

The RefundLineItem resources attached to the refund.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

transactions (OrderTransactionConnection!)

Transactions associated with the refund.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

Fields

createdAt (DateTime)

When the refund was created.

id (ID!)

Globally unique identifier.

legacyResourceId (UnsignedInt64!)

The ID of the corresponding resource in the REST Admin API.

note (String)

Note associated with the refund.

totalRefundedSet (MoneyBag!)

Total amount refunded across all the transactions for this refund in shop and presentment currencies.

updatedAt (DateTime!)

When the refund was last updated.

Types that return Refund

Mutations for Refund

refundCreate

Creates a refund.

Implements

Deprecated fields

Show/Hide
restocked (Boolean!) deprecated

Whether the RefundLineItem resources were restocked when the refund was created.

Deprecation warning

Use restockType on the RefundLineItem resource instead.

totalRefunded (MoneyV2!) deprecated

Total amount refunded across all the transactions for this refund.

Deprecation warning

Use totalRefundedSet instead

Version 2019-10 (Latest)

Represents a refund of items or transactions in an order.

Required access

read_orders access scope

Connections

refundLineItems (RefundLineItemConnection!)

The RefundLineItem resources attached to the refund.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

transactions (OrderTransactionConnection!)

Transactions associated with the refund.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

Fields

createdAt (DateTime)

When the refund was created.

id (ID!)

Globally unique identifier.

legacyResourceId (UnsignedInt64!)

The ID of the corresponding resource in the REST Admin API.

note (String)

Note associated with the refund.

totalRefundedSet (MoneyBag!)

Total amount refunded across all the transactions for this refund in shop and presentment currencies.

updatedAt (DateTime!)

When the refund was last updated.

Types that return Refund

Mutations for Refund

refundCreate

Creates a refund.

Implements

Deprecated fields

Show/Hide
restocked (Boolean!) deprecated

Whether the RefundLineItem resources were restocked when the refund was created.

Deprecation warning

Use restockType on the RefundLineItem resource instead.

totalRefunded (MoneyV2!) deprecated

Total amount refunded across all the transactions for this refund.

Deprecation warning

Use totalRefundedSet instead

Version 2019-07

Represents a refund of items or transactions in an order.

Required access

read_orders access scope

Connections

refundLineItems (RefundLineItemConnection!)

The RefundLineItem resources attached to the refund.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

transactions (OrderTransactionConnection!)

Transactions associated with the refund.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

Fields

createdAt (DateTime)

When the refund was created.

id (ID!)

Globally unique identifier.

legacyResourceId (UnsignedInt64!)

The ID of the corresponding resource in the REST Admin API.

note (String)

Note associated with the refund.

totalRefundedSet (MoneyBag!)

Total amount refunded across all the transactions for this refund in shop and presentment currencies.

updatedAt (DateTime!)

When the refund was last updated.

Types that return Refund

Mutations for Refund

refundCreate

Creates a refund.

Implements

Deprecated fields

Show/Hide
restocked (Boolean!) deprecated

Whether the RefundLineItem resources were restocked when the refund was created.

Deprecation warning

Use restockType on the RefundLineItem resource instead.

totalRefunded (MoneyV2!) deprecated

Total amount refunded across all the transactions for this refund.

Deprecation warning

Use totalRefundedSet instead

Version 2019-04

Represents a refund of items or transactions in an order.

Required access

read_orders access scope

Connections

refundLineItems (RefundLineItemConnection!)

The RefundLineItem resources attached to the refund.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

transactions (OrderTransactionConnection!)

Transactions associated with the refund.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

Fields

createdAt (DateTime)

When the refund was created.

id (ID!)

Globally unique identifier.

legacyResourceId (UnsignedInt64!)

The ID of the corresponding resource in the REST Admin API.

note (String)

Note associated with the refund.

totalRefundedSet (MoneyBag!)

Total amount refunded across all the transactions for this refund in shop and presentment currencies.

updatedAt (DateTime!)

When the refund was last updated.

Types that return Refund

Mutations for Refund

refundCreate

Creates a refund.

Implements

Deprecated fields

Show/Hide
restocked (Boolean!) deprecated

Whether the RefundLineItem resources were restocked when the refund was created.

Deprecation warning

Use restockType on the RefundLineItem resource instead.

totalRefunded (MoneyV2!) deprecated

Total amount refunded across all the transactions for this refund.

Deprecation warning

Use totalRefundedSet instead

Sign up for a Partner account to get started.

Sign up