Get a customer

View as Markdown

Retrieves a single customer by UUID or by external_id. If the provided id is not a valid UUID, it is treated as an external_id lookup.

Authentication

AuthorizationBearer

Use a secret key (sk_test_* or sk_live_*) for full read/write access, or a public key (pk_test_* or pk_live_*) for read-only access.

Path parameters

idstringRequired

The customer UUID or external_id.

Response

The customer object
dataobject

Errors

401
Unauthorized Error
404
Not Found Error