301 redirects on merged customers

Starting from May 6, 2024, any requests to /api/customers/{id}/* endpoints will return a 301 Moved Permanently redirect with an empty body if the customer has been merged with another.


Before: once merged with others, customers are not accessible via our APIs anymore. Any requests that reference them via the URL get a 404 response.

After: requests that reference customers that were merged with others will get a 301 redirect to the remaining one.

List of impacted endpoints: