Get customer

Get a single customer by ID. Customers are auto-created from order data — they represent unique buyer email addresses that have purchased from the seller.

Authentication

AuthorizationBearer

API key (lb_ prefix). Pass as: Authorization: Bearer lb_...

Path parameters

customer_idstringRequired
Customer ID.

Response

Successful Response
idstring
Unique identifier.
emailstring
Buyer email address.
total_ordersinteger
Total number of completed orders from this buyer.
total_spentinteger

Total amount spent in cents (smallest currency unit).

currencystring
Currency code.
created_atdatetime
When this customer record was created.
object"customer"

Object type identifier. Always customer.

first_order_atdatetime or null
When this buyer first purchased.
last_order_atdatetime or null
When this buyer most recently purchased.

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error