Customers

get
Get Customers

https://yourcompany.mavenseed.com/v1/customers
Retrieve all customers
Request
Response
Path Parameters
page
optional
integer
Results are paginated
Headers
X-USER-TOKEN
required
string
Account owner API key.
200: OK
Returns an array of data. The first 20 are returned. Paginate with the page parameter.
[
{
"id": 7,
"site_id": 12,
"first_name": "Guest",
"last_name": "Guesterson",
"email": "guest_customer_155066848842@something.com",
"created_at": "2019-02-20T08:14:48.272-05:00",
"updated_at": "2019-02-20T08:14:48.272-05:00",
"avatar_data": null,
"stripe_customer_id": null
},
{
"id": 6,
"site_id": 12,
"first_name": "Teds",
"last_name": "Slinky",
"email": "ted@teststst.com",
"created_at": "2019-02-19T12:25:41.620-05:00",
"updated_at": "2019-02-26T07:47:09.933-05:00",
"avatar_data": null,
"stripe_customer_id": "cus_Eb2YeKl1uLyGCy"
}
]
404: Not Found
Could not find a cake matching this query.
{
"message": "Ain't no customer like that."
}

get
Get Single Customer

https://yourcompany.mavenseed.com/api/v1/customers/:id
Request
Response
Headers
X-USER-TOKEN
optional
string
Account Owner API key.
200: OK
Returns data for the single member.
{
"id": 8,
"site_id": 12,
"first_name": "Guest",
"last_name": "Guesterson",
"email": "guest_customer_155118998343@something.com",
"created_at": "2019-02-26T09:06:23.077-05:00",
"updated_at": "2019-02-26T09:06:23.077-05:00",
"avatar_data": null,
"stripe_customer_id": null
}

‚Äč