Skip to main content
GET
/
api
/
v1
/
customers
/
{id}
curl -X GET https://api.example.com/api/v1/customers/123/ \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "email": "[email protected]",
  "first_name": "John",
  "last_name": "Doe",
  "slug": "john-doe",
  "date_of_birth": "1990-01-15",
  "address": {
    "street_address": "123 Main Street",
    "postal_code": 12345,
    "city": "San Francisco",
    "state": "California",
    "country": "United States"
  },
  "last_purchase_date": "2024-03-01T14:30:00Z"
}
Retrieves detailed information about a specific customer by their ID. This endpoint is publicly accessible for viewing customer profiles.

Path Parameters

id
integer
required
The unique identifier of the customer

Response

email
string
Customer’s email address
first_name
string
Customer’s first name
last_name
string
Customer’s last name
slug
string
Auto-generated slug based on the customer’s full name
date_of_birth
string
Customer’s date of birth in ISO 8601 format
address
object
Customer’s shipping/billing address
last_purchase_date
string
Timestamp of the customer’s most recent purchase
curl -X GET https://api.example.com/api/v1/customers/123/ \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "email": "[email protected]",
  "first_name": "John",
  "last_name": "Doe",
  "slug": "john-doe",
  "date_of_birth": "1990-01-15",
  "address": {
    "street_address": "123 Main Street",
    "postal_code": 12345,
    "city": "San Francisco",
    "state": "California",
    "country": "United States"
  },
  "last_purchase_date": "2024-03-01T14:30:00Z"
}

Build docs developers (and LLMs) love