Skip to content

List EU Withdrawals

Retrieve a list of the authenticated customer's own EU right-of-withdrawal declarations. Declarations are always scoped to the logged-in customer — a customer can never see another customer's declarations. Results are ordered newest first.

Endpoint

GET /api/shop/eu-withdrawals

Authentication

This endpoint requires an authenticated customer — send the storefront key and a customer Bearer token. See the Authentication page.

Request Headers

HeaderRequiredDescription
Content-TypeYesapplication/json
X-STOREFRONT-KEYYesYour storefront API key
AuthorizationYesBearer token (customer login required)

Response Fields (200 OK)

The response is a plain JSON array. Each item is a withdrawal declaration object.

FieldTypeDescription
idintegerDeclaration ID.
uuidstringStable public identifier for the declaration.
orderIdintegerNumeric ID of the order the withdrawal applies to.
orderIncrementIdstringHuman-readable order number.
isGuestbooleanWhether the declaration was filed on a guest order.
customerEmailstringEmail address tied to the declaration.
statusstringDeclaration status: received, declined, refunded.
reasonTextstringThe reason the shopper supplied, or null.
receivedAtstringISO 8601 timestamp when the declaration was received.
confirmationSentAtstringISO 8601 timestamp when the confirmation email was sent, or null.
declinedAtstringISO 8601 timestamp when the withdrawal was declined, or null.
declinedReasonstringReason the store declined the withdrawal, or null.
refundedAtstringISO 8601 timestamp when the order was refunded, or null.
refundNotestringNote attached to the refund, or null.
createdAtstringISO 8601 creation timestamp.
updatedAtstringISO 8601 last update timestamp.

Empty Collection

When the customer has no declarations, the response is an empty array:

json
[]

Status Codes

StatusMeaning
200 OKDeclarations returned.
401 UnauthorizedMissing or invalid customer Bearer token.
403 ForbiddenMissing or invalid storefront key.

Released under the MIT License.