
Retrieve customerPOST
OpenStock Docs
POST
/
api/customer-balance-api/customers/infocustomer_balance_apiLooks up one customer by email. The email goes in the JSON body, never in the URL.
Emails in URL paths (for example /customers/{email}) are rejected with deprecated_endpoint. Always send the email in the body.
Authorization#
AuthorizationBearer <token>In: header. A store API key starting with sk_ that has the customer_balance_api permission.
Request body#
application/json
emailrequiredstringCustomer email address.
Responses#
- 200The customer.
- 404No customer with that email in this store.
- 401Missing, malformed, disabled or expired API key.