Skip to main content
GET
https://api.chariow.com/v1
/
customers
/
{customerId}
curl -X GET "https://api.chariow.com/v1/customers/cus_abc123xyz" \
  -H "Authorization: Bearer sk_live_your_api_key"
{
  "message": "success",
  "data": {
    "id": "cus_abc123xyz",
    "name": "John Doe",
    "first_name": "John",
    "last_name": "Doe",
    "email": "[email protected]",
    "avatar_url": "https://cdn.chariow.com/avatars/abc123.jpg",
    "phone": {
      "number": "+1 234 567 890",
      "country": {
        "name": "United States",
        "code": "US",
        "alpha_3_code": "USA",
        "dial_code": "+1",
        "currency": "USD",
        "flag": "🇺🇸"
      }
    },
    "store": {
      "id": "str_xyz789",
      "name": "My Digital Store",
      "logo_url": "https://cdn.chariow.com/stores/xyz789/logo.png",
      "url": "https://mystore.chariow.link"
    },
    "created_at": "2025-01-15T10:30:00+00:00",
    "updated_at": "2025-01-20T14:45:00+00:00"
  },
  "errors": []
}
Retrieves detailed information about a specific customer by their public ID. Returns the complete customer profile including contact information and store details.

Path Parameters

customerId
string
required
The unique customer identifier (e.g., cus_abc123xyz)

Response

data
object
curl -X GET "https://api.chariow.com/v1/customers/cus_abc123xyz" \
  -H "Authorization: Bearer sk_live_your_api_key"
{
  "message": "success",
  "data": {
    "id": "cus_abc123xyz",
    "name": "John Doe",
    "first_name": "John",
    "last_name": "Doe",
    "email": "[email protected]",
    "avatar_url": "https://cdn.chariow.com/avatars/abc123.jpg",
    "phone": {
      "number": "+1 234 567 890",
      "country": {
        "name": "United States",
        "code": "US",
        "alpha_3_code": "USA",
        "dial_code": "+1",
        "currency": "USD",
        "flag": "🇺🇸"
      }
    },
    "store": {
      "id": "str_xyz789",
      "name": "My Digital Store",
      "logo_url": "https://cdn.chariow.com/stores/xyz789/logo.png",
      "url": "https://mystore.chariow.link"
    },
    "created_at": "2025-01-15T10:30:00+00:00",
    "updated_at": "2025-01-20T14:45:00+00:00"
  },
  "errors": []
}