Customers
Get Customer
Retrieves details of a given customer by customer's id or source_id.
get/v1/customers/{customerId}
Response
Returns a customer object if a valid identifier was provided.
Example response
{
"summary": {
"orders": {
"last_order_date": "2022-08-30T11:51:08.029Z"
}
},
"referrals": {
"campaigns": [
{
"campaign_id": "camp_rRsfatlwN7unSeUIJDCYedal",
"referrer_id": "cust_sehkNIi8Uq2qQuRqSr7xn4Zi",
"related_object_id": "r_0b9d4cc4aa164dd073",
"date": "2022-08-30T10:19:39.196Z"
}
]
},
"created_at": "2022-08-30T06:32:07.380Z",
"updated_at": "2022-08-31T06:32:07.380Z"
}