Skip to Content
StarsellDocs
API referenceCustomers

List customers

GET
/stores/{storeId}/customers

List customers (everyone who ordered, signed in to their account, or was added or imported), latest order first.

Authorization

storeKey
headerAuthorizationBearer <vtk_...>

A store API and MCP key

Path Parameters

storeId*string

The store id

Query Parameters

limit?integer
Range1 <= value <= 100
Default25
page?integer
Range1 <= value
Default1
q?string

Name, email or phone

email?string

One email, any case

tag?string

Customers with this tag

accepts_marketing?string

Email marketing consent

Value in"true""false"
updated_after?string
Formatdate-time

Response Body

OK

application/json
  1. response
data*array<>
pagination*
Example Request
curl -X GET 'https://starsell.app/api/v1/stores/string/customers'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "email": "string",      "name": "string",      "first_name": "string",      "last_name": "string",      "phone": "string",      "city": "string",      "country": "string",      "language": "string",      "tags": [        "string"      ],      "note": "string",      "tax_exempt": true,      "orders_count": 0,      "spent_minor": 0,      "store_credit_minor": 0,      "currency": "string",      "accepts_marketing": true,      "accepts_email_marketing": true,      "email_consent_at": "2019-08-24T14:15:22Z",      "email_consent_source": "checkout",      "accepts_sms_marketing": true,      "sms_consent_at": "2019-08-24T14:15:22Z",      "first_order_at": "2019-08-24T14:15:22Z",      "last_order_at": "2019-08-24T14:15:22Z",      "erased": true,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "pagination": {    "page": 0,    "limit": 0,    "total": 0,    "has_more": true  }}