Skip to main content
GET
/
customers
/
{prefix_id}
Get customer
curl --request GET \
  --url https://api.crevio.co/v1/customers/{prefix_id} \
  --header 'Authorization: <api-key>'
{
  "id": 123,
  "email": "jsmith@example.com",
  "name": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "customerType": "lead",
  "prefixId": "<string>",
  "ordersCount": 123,
  "totalSpend": 123,
  "tags": [
    {
      "id": 123,
      "name": "<string>"
    }
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Path Parameters

prefix_id
string
required

The resource prefix ID

Response

Customer details

id
integer
email
string<email>
name
string
firstName
string
lastName
string | null
customerType
enum<string>
Available options:
lead,
free,
paid
prefixId
string
ordersCount
integer
totalSpend
integer

Total spend in cents

tags
object[]

Tags associated with the customer

createdAt
string<date-time>
updatedAt
string<date-time>