Skip to content

customer.erased

When it is sent. A customer’s personal details were erased at their request, after the shop’s 30 days to take the approval back. Each connection’s copy carries its own external_id.

What to do with it. Delete or anonymise what your system holds about that customer.

It arrives as a signed POST to each of your endpoints that chose it, and is also in the event feed. See how events work, including how to check the signature.

Field Type Required What it is
id string (uuid) yes The event id, sent as webhook-id.
type "customer.erased" yes
timestamp string (date-time) yes When it happened.
data object yes
data.customer object (CustomerIds) yes This connection’s external_id, if it set one.
data.customer.id string (uuid) yes
data.customer.external_id string or null yes