Skip to content

Read a customer's PII profile

GET
/customers/{uuid}

Server-side-only PII read, by customer_uuid. Requires a secret key.

uuid
required
string format: uuid

The PII profile.

object
customer_uuid
required
string format: uuid
email
string
name
string
birthday
string
locale
string
social_handles
object
key
additional properties
string
marketing_consent
object
email
string
Allowed values: opted_in opted_out unset
sms
string
Allowed values: opted_in opted_out unset
updated_at
string
updated_at
string format: date-time

Uuid is not a valid UUID.

object
error
required
object
code
required
string
Example
not_found
message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210

Missing or invalid API key or OAuth credential.

object
error
required
object
code
required
string
Example
not_found
message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210

The credential lacks the loyalty:read scope — a publishable key (publishable_key_forbidden).

object
error
required
object
code
required
string
Example
not_found
message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210

No customer profile found for this UUID.

object
error
required
object
code
required
string
Example
not_found
message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210