v1
latestSwagger 2.02026-07-17148179252.3 KBGet All Customers
Returns a list of Customers. Optional filter parameters can be passed in. Notes Attribute names are not available on the customer object.
Query parameters
Page number. page=1
Items count per page. limit=50
Filter items by id. id:in=4,5,6
Filter items by company. company:in=bigcommerce,commongood
Filter items by customer_group_id. customer_group_id:in=5,6
Filter items by date_created. date_created=2018-09-05T13:43:54
Filter items by maximum date_created. date_created:max=2018-09-10
Filter items by date_created. date_created:min=2018-09-05
Filter items by date_modified. date_modified=2018-09-05T13:45:03
Filter items by mininum date_modified. date_modified:min=2019-09-04T:00:00:00 or date_modified:min=2019-09-04
Filter items by maximum date_modified date_modified:max=2018-09-05T13:45:03 or date_modified:max=2019-09-04
Filter items by email. email:in=janedoe@email.com
Filter items by first_name and last_name. name=james moriarty
Filter items by substring in first_name and last_name. name:like=moriarty, sherlock Concatenates the first_name and last_name fields.
Filter items by registration_ip_address. If the customer was created using the API, then registration address is blank. registration_ip_address:in=12.345.6.789
Indicates whether to include customer sub-resources:
- addresses - customer addresses
- storecredit - store credit
- attributes - customer attributes and address attributes
- formfields - customer and address form fields include=addresses,storecredit,attributes,formfields
Sort items by date_created or last_name:
- date_created:asc - date created, ascending
- date_created:desc - date created, descending
- last_name:asc - last name, ascending
- last_name:desc - last name, descending Example: sort=last_name:asc
Response
OK
Example response
{
"data": [
{
"authentication": {
"force_password_reset": true
},
"addresses": [
{
"address_type": "residential"
}
],
"store_credit_amounts": [
{
"amount": 43.18
}
]
}
]
}