page
parameter will return an error. To learn more, see Make paginated requests to the REST Admin API.accepts_marketing
,activation_date
, address1
, address2
, city
,company
, country
, customer_date
, customer_first_name
,customer_id
, customer_last_name
, customer_tag
, email
,email_marketing_state
, first_name
, first_order_date
, id
,last_abandoned_order_date
, last_name
, multipass_identifier
,orders_count
, order_date
, phone
, province
,shop_id
, state
, tag
, total_spent
,updated_at
, verified_email
, product_subscriber_status
. All other queriescurl --location --request GET 'https://demo.myshopify.com//admin/api//customers/search.json'
{
"customers": [
{
"id": 207119551,
"email": "bob.norman@mail.example.com",
"accepts_marketing": false,
"created_at": "2023-01-03T12:13:43-05:00",
"updated_at": "2023-01-03T12:13:43-05:00",
"first_name": "Bob",
"last_name": "Norman",
"orders_count": 1,
"state": "disabled",
"total_spent": "199.65",
"last_order_id": 450789469,
"note": null,
"verified_email": true,
"multipass_identifier": null,
"tax_exempt": false,
"tags": "",
"last_order_name": "#1001",
"currency": "USD",
"phone": "+16136120707",
"addresses": [
{
"id": 207119551,
"customer_id": 207119551,
"first_name": null,
"last_name": null,
"company": null,
"address1": "Chestnut Street 92",
"address2": "",
"city": "Louisville",
"province": "Kentucky",
"country": "United States",
"zip": "40202",
"phone": "555-625-1199",
"name": "",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}
],
"accepts_marketing_updated_at": "2005-06-12T11:57:11-04:00",
"marketing_opt_in_level": null,
"tax_exemptions": [],
"admin_graphql_api_id": "gid://shopify/Customer/207119551",
"default_address": {
"id": 207119551,
"customer_id": 207119551,
"first_name": null,
"last_name": null,
"company": null,
"address1": "Chestnut Street 92",
"address2": "",
"city": "Louisville",
"province": "Kentucky",
"country": "United States",
"zip": "40202",
"phone": "555-625-1199",
"name": "",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}
}
]
}