Check whether a customer can be erased
GET/gdpr/v1/lookup
Use this before POST /gdpr/v1/erasure to find out whether a customer's personal data can be erased. It is read-only: nothing is changed, no personal data is returned, and you can only look up your own customers. The response status tells you what to do next. If it is eligible, you can go ahead and submit the erasure. If it is not_found, we hold no records for this email address under your merchant account, so there is nothing to erase. If it is ineligible, the reason field says why and message gives a plain-language explanation you can pass on to your customer. A reason of customer_has_orders is final, because Two must keep order records to meet accounting and tax law. A reason of manual_review_required means the address may be shared by several people or companies, so we can't erase it automatically; in this case, contact our customer service team and forward your request to [email protected] for further support.
Request
Responses
- 200
- 400
- 429
- default
Whether the customer can be erased.
Validation error or invalid query parameters
Rate limit exceeded
Error response