View EU Withdrawal
About
The euWithdrawal query returns a single EU right-of-withdrawal declaration owned by the authenticated customer. Ownership is resolved through the underlying order. If the declaration does not exist or belongs to a different customer, the query returns a not-found error — a customer can only view their own declarations.
Authentication
This query requires an authenticated customer — send the storefront key and a customer Bearer token. See the Authentication page.
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
id | ID! | ✅ Yes | The declaration IRI, e.g. /api/shop/eu-withdrawals/7. |
Possible Returns
| Field | Type | Description |
|---|---|---|
_id | Int! | Numeric declaration ID. |
uuid | String! | Stable public identifier for the declaration. |
orderId | Int! | Numeric ID of the order the withdrawal applies to. |
orderIncrementId | String! | Human-readable order number. |
isGuest | Boolean! | Whether the declaration was filed on a guest order. |
customerEmail | String! | Email address tied to the declaration. |
status | String! | Declaration status: received, declined, refunded. |
reasonText | String | The reason the shopper supplied, or null. |
receivedAt | DateTime | Timestamp when the declaration was received. |
confirmationSentAt | DateTime | Timestamp when the confirmation email was sent, or null. |
declinedAt | DateTime | Timestamp when the withdrawal was declined, or null. |
declinedReason | String | Reason the store declined the withdrawal, or null. |
refundedAt | DateTime | Timestamp when the order was refunded, or null. |
refundNote | String | Note attached to the refund, or null. |
createdAt | DateTime! | Declaration creation timestamp. |
updatedAt | DateTime! | Declaration last update timestamp. |

