It says to put parentId in orderTransactions as mandatory. I don’t know how to get parentId.
mutation returnRefund($returnRefundInput: ReturnRefundInput!) {
returnRefund(returnRefundInput: $returnRefundInput) {
refund {
id
}
userErrors {
field
message
}
}
}
{
"returnRefundInput": {
"notifyCustomer": true,
"orderTransactions": [
{
"parentId": "?????????????????????",
"transactionAmount": {
"amount": "6600",
"currencyCode": "KRW"
}
}
],
"refundShipping": {
"fullRefund": true,
"shippingRefundAmount": {
"amount": "26000",
"currencyCode": "KRW"
}
},
"returnId": "gid://shopify/Return/5151096890",
"returnRefundLineItems": [
{
"quantity": 1,
"returnLineItemId": "gid://shopify/LineItem/12962798272570"
}
]
}
}