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": "john@example.com",
"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": []
}
Customers
Get Customer
Retrieve details of a specific customer
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": "john@example.com",
"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
The unique customer identifier (e.g.,
cus_abc123xyz)Response
Show properties
Show properties
Unique customer identifier (e.g.,
cus_abc123xyz)Customer full name (combination of first and last name)
Customer first name
Customer last name
Customer email address
URL to the customer’s avatar image
Customer phone number
Show phone object
Show phone object
International formatted phone number (e.g.,
+1 234 567 890)ISO 8601 timestamp of when the customer was created
ISO 8601 timestamp of when the customer was last updated
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": "john@example.com",
"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": []
}
Was this page helpful?
⌘I