curl --request GET \
--url http://localhost:3000/v1/customers{
"customers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"full_name": "<string>",
"email": "<string>",
"phone": "<string>",
"created_at": "<string>",
"analytics": {
"total_orders": 123,
"total_spend": 123,
"average_order_value": 123,
"orders_pending": 123,
"orders_completed": 123,
"orders_cancelled": 123,
"first_order_at": "<string>",
"last_order_at": "<string>",
"price_sensitivity_score": 123
}
}
],
"total": 123
}Get a paginated list of customer profiles with their analytics data.
curl --request GET \
--url http://localhost:3000/v1/customers{
"customers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"full_name": "<string>",
"email": "<string>",
"phone": "<string>",
"created_at": "<string>",
"analytics": {
"total_orders": 123,
"total_spend": 123,
"average_order_value": 123,
"orders_pending": 123,
"orders_completed": 123,
"orders_cancelled": 123,
"first_order_at": "<string>",
"last_order_at": "<string>",
"price_sensitivity_score": 123
}
}
],
"total": 123
}Max items to return
1 <= x <= 10020
Items to skip
x >= 00
Search query
200"john"
Sort field
total_spend, total_orders, last_order, created_at Sort order
asc, desc