Get a customer
Any signed in user. Returns one customer with its credit limit, balance, and credit flag. An unknown customer answers 404, and money fields stay strings, so exact decimals survive.
GET
/api/v1/customers/{customerId}Authorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Path parameters
customerIdstringrequiredThe customer id.
Responses
200
The customer
idstringrequirednamestringrequiredphonestringrequirednational_idstringrequirednotesstringrequiredimage_urlstringrequiredcredit_limitstringrequiredcurrent_balancestringrequiredis_credit_allowedbooleanrequiredcreated_atstringrequiredupdated_atstringrequiredis_deletedbooleanrequired401
Not authenticated
detailstringrequired404
Customer not found
detailstringrequired