Delete customer
DELETE/api/v1/stores/{store_id}/customers/{customer_id}
Deletes the customer and their carts. The orders remain without a customer, so that the campaigns' revenue stays correct.
Use when a customer asks to be erased from the shop. If a contact is erased in the workspace (GDPR), customers with the same address are removed in the same way.
Scope
ecommerce:writeEdit e-commerce – the person behind the key must be editor or higher.
Path parameters
store_idstringrequired- The store's ID, which you choose.
customer_idstringrequired- The customer's ID in your shop.
Response
204 Deleted.
Errors
- 404
- not_found
- 429
- rate_limited