Reference
CUSTOMER_NOT_FOUND
Customer not found
Customer not found
HTTP status 404 Not Found, code CUSTOMER_NOT_FOUND.
What it means#
No customer with that id exists in the organisation. A cart, a checkout or an order that names a customer gets this too when the customer is not one the sale may carry: another organisation's, or, where customer data is isolated per account, one another account owns that has not been shared with the selling account.
What to do#
Search for the customer by email with GET /customers?email= (or POST /customers/match) and use the id returned.
On the wire#
Every error response carrying this code names this page in error.moreInfo,
with the request id in the query string. See Error codes for
the response shape and the list of every code.