Skip to main content
GET
Retrieve a location customer

Authorizations

x-api-key
string
header
required

Location/organization API key.

Path Parameters

location_id
string
required
customer_id
string
required

Response

The customer with location-scoped activity.

id
string
required

Stable, owner-scoped Chataigne customer identifier.

object
enum<string>
required
Available options:
customer
created_at
string<date-time>
required
updated_at
string<date-time>
required
first_name
string | null
required
last_name
string | null
required
email
string | null
required
phone
string | null
required
language
enum<string> | null
required
Available options:
fr,
en,
de,
it,
es,
pt,
null
completed_orders_count
integer
required

Completed orders in the route scope only.

Required range: x >= 0
first_interaction_at
string<date-time>
required

First customer activity in the location or organization requested by the route.

last_interaction_at
string<date-time>
required

Most recent customer activity in the location or organization requested by the route.

last_order_at
string<date-time> | null
required

Most recent order in the route scope, regardless of status.

total_spent
object[]
required

Completed-order spend in the route scope, grouped by currency.