Skip to content

Decline EU Withdrawal

GraphQL counterpart of POST /api/admin/eu-withdrawals/{id}/decline. Declines a withdrawal declaration when the purchase is exempt from the right of withdrawal (for example a personalised good). Sets status to declined and records who declined it, when, and why. Runs against the admin GraphQL endpoint POST /api/admin/graphql.

Declining clears any prior refund metadata (refundedAt, refundedByUserId, refundedByName, refundNote) so the declaration reflects a single current outcome.

Operation

declineAdminEuWithdrawal — pass the declaration IRI (/api/admin/eu-withdrawals/{id}) as input.id, and the required declinedReason. Select _id for the numeric id on the result.

Input

FieldTypeRequiredDescription
idID!yesThe declaration IRI.
declinedReasonString!yesThe reason the declaration is being declined.

Permission

sales.eu_withdrawals.decline

Released under the MIT License.