List store customers
GET /stores/{storeResourceId}/customers
/stores/{storeResourceId}/customersReturns the customers of one store, most recently updated first. Each is linked to a member of the store's audience.
When to use: To find a customer by email, name, company or phone, or to check who is already synchronized from a shop.
When not to use: To read one customer with their member use get_store_customer; to search audience members by any attribute use search_member.
Filters: email, company, firstname, lastname: partial match. phone: exact match, in E.164 format. Sort with order[created_at], order[updated_at], order[email], order[firstname], order[lastname] or order[company] (asc/desc).
Permissions: Requires the viewer role or higher, or the marketing.audiences.read capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
Identifier (resource_id) of the store the customer belongs to.
Query Parameters
The collection page number
1The number of items per page
0 <= value <= 5030Return only customers whose email contains this text.
Return only customers whose company contains this text.
Return only customers whose first name contains this text.
Return only customers whose last name contains this text.
Return only the customer with this exact phone number, in E.164 format.
Response Body
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/stores/acme-shop/customers?email=ana%40&company=Acme&firstname=Ana&lastname=Garc%C3%ADa&phone=%2B34612345678" \ -H "X-Auth-Token: YOUR_API_KEY"[ { "resource_id": "string", "email": "user@example.com", "phone": "string", "company": "string", "firstname": "string", "lastname": "string", "member": "/entity/1", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }]