ConvertedIn | DOCS
Search…
Customers
Retrieve a list of customers.

Request

1
curl -X GET "{domain}/api/customers?page=1&limit=100" \
2
-H "Access-Token: {access_token}"
Copied!

Parameters

Name
Type
Required
Description
page
int
true
page number
limit
int
true
count items per page

Response

1
{
2
"data": [
3
{
4
"id": 207119551,
5
"email": "[email protected]",
6
"accepts_marketing": false,
7
"created_at": "2021-10-01T16:52:26-04:00",
8
"updated_at": "2021-10-01T16:52:26-04:00",
9
"first_name": "Bob",
10
"last_name": "Norman",
11
"orders_count": 1,
12
"state": "disabled",
13
"total_spent": "199.65",
14
"last_order_id": 450789469,
15
"verified_email": true,
16
"phone": "+16136120707",
17
"last_order_name": "#1001",
18
"currency": "USD",
19
"addresses": [
20
{
21
"id": 207119551,
22
"customer_id": 207119551,
23
"first_name": null,
24
"last_name": null,
25
"company": null,
26
"address1": "Chestnut Street 92",
27
"address2": "",
28
"city": "Louisville",
29
"province": "Kentucky",
30
"country": "United States",
31
"zip": "40202",
32
"phone": "555-625-1199",
33
"name": "",
34
"province_code": "KY",
35
"country_code": "US",
36
"country_name": "United States",
37
"default": true
38
}
39
],
40
"default_address": {
41
"id": 207119551,
42
"customer_id": 207119551,
43
"first_name": null,
44
"last_name": null,
45
"company": null,
46
"address1": "Chestnut Street 92",
47
"address2": "",
48
"city": "Louisville",
49
"province": "Kentucky",
50
"country": "United States",
51
"zip": "40202",
52
"phone": "555-625-1199",
53
"name": "",
54
"province_code": "KY",
55
"country_code": "US",
56
"country_name": "United States",
57
"default": true
58
}
59
}
60
],
61
"total": 1000,
62
"per_page": 100,
63
"current_page": 1,
64
"last_page": 10,
65
"from": 1,
66
"to": 100
67
}
Copied!
Last modified 24d ago
Copy link