Skip to content

Mark EU Withdrawal Refunded

GraphQL counterpart of POST /api/admin/eu-withdrawals/{id}/mark-refunded. Records that a withdrawal declaration has been honoured and the customer refunded out-of-band. Sets status to refunded and records who marked it, when, and an optional note. Runs against the admin GraphQL endpoint POST /api/admin/graphql.

Marking refunded clears any prior decline metadata (declinedAt, declinedReason, declinedByUserId, declinedByName) so the declaration reflects a single current outcome.

Operation

markRefundedAdminEuWithdrawal — pass the declaration IRI (/api/admin/eu-withdrawals/{id}) as input.id, with an optional refundNote. Select _id for the numeric id on the result.

Input

FieldTypeRequiredDescription
idID!yesThe declaration IRI.
refundNoteStringnoA note describing how the refund was issued.

Permission

sales.eu_withdrawals.mark_refunded

Released under the MIT License.