Schema
Customer Summary
A lightweight customer representation for merchant customer directories.
Overview
Properties
uuid
string
Required
The customer's unique identifier.
Format
uuid
Read only
Yes
mobile_number
reference
Required
References Phone Number.
name
string | null
Required
The customer's name (if known).
Min length
1
Max length
255
Nullable
Yes
email_address
string | null
Required
The customer's email address (if known).
Format
email
Min length
1
Max length
255
Nullable
Yes
customer_tier
oneOf
Required
The customer's current tier and its current settings, or `null` when no tier is assigned.
Nullable
Yes
Read only
Yes
One of
One of 1
null
One of 2
reference
References Customer Tier.
lifetime_qualifying_spend
allOf
Required
The customer's authoritative lifetime qualifying spend.
Read only
Yes
All of
All of 1
reference
References Money.
All of 2
object
Nested properties
amount
schema
Minimum
0
created_at
string
Required
The date-time that the customer was first created.
Format
date-time
Read only
Yes
updated_at
string
Required
The date-time that the customer was last updated.
Format
date-time
Read only
Yes
Used by
Raw YAML
Download source
title: Customer Summary
type: object
x-tags:
- Models
description: A lightweight customer representation for merchant customer directories.
required:
- uuid
- mobile_number
- name
- email_address
- customer_tier
- lifetime_qualifying_spend
- created_at
- updated_at
properties:
uuid:
type: string
format: uuid
readOnly: true
description: The customer's unique identifier.
mobile_number:
$ref: ./PhoneNumber.yaml
name:
type:
- string
- 'null'
minLength: 1
maxLength: 255
description: The customer's name (if known).
email_address:
type:
- string
- 'null'
format: email
minLength: 1
maxLength: 255
description: The customer's email address (if known).
customer_tier:
oneOf:
- type: 'null'
- $ref: ./CustomerTier.yaml
required:
- uuid
readOnly: true
description: The customer's current tier and its current settings, or `null` when no tier is assigned.
lifetime_qualifying_spend:
allOf:
- $ref: ./Money.yaml
- type: object
properties:
amount:
minimum: 0
readOnly: true
description: The customer's authoritative lifetime qualifying spend.
created_at:
type: string
format: date-time
readOnly: true
description: The date-time that the customer was first created.
updated_at:
type: string
format: date-time
readOnly: true
description: The date-time that the customer was last updated.