Requires write_returns
access scope or write_marketplace_returns
access scope. Also: The user must have refund_orders
permission.
Refunds a return when its status is OPEN
or CLOSED
and associates it with the related return request.
The input fields to refund a return.
The list of errors that occurred from executing the mutation.
{ "returnRefundInput": { "returnId": "gid://shopify/<objectName>/10079785100", "returnRefundLineItems": [ { "returnLineItemId": "gid://shopify/<objectName>/10079785100", "quantity": 1 } ], "refundShipping": { "shippingRefundAmount": {}, "fullRefund": true }, "refundDuties": [ { "dutyId": "gid://shopify/<objectName>/10079785100", "refundType": "PROPORTIONAL" } ], "orderTransactions": [ { "transactionAmount": {}, "parentId": "gid://shopify/<objectName>/10079785100" } ], "notifyCustomer": true } }
input ReturnRefundInput { returnId: ID! returnRefundLineItems: [ReturnRefundLineItemInput!]! refundShipping: RefundShippingInput refundDuties: [RefundDutyInput!] orderTransactions: [ReturnRefundOrderTransactionInput!] notifyCustomer: Boolean } input ReturnRefundLineItemInput { returnLineItemId: ID! quantity: Int! } input RefundShippingInput { shippingRefundAmount: MoneyInput fullRefund: Boolean } input RefundDutyInput { dutyId: ID! refundType: RefundDutyRefundType } input ReturnRefundOrderTransactionInput { transactionAmount: MoneyInput! parentId: ID! }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4