Easymailing
Store customers

Get a store customer

GET /stores/{storeResourceId}/customers/{resourceId}

GET/stores/{storeResourceId}/customers/{resourceId}

Returns one customer with their data and the linked audience member.

When to use: To check a customer you already know, including the state of their subscription.

When not to use: To find customers use list_store_customers.

Permissions: Requires the viewer role or higher, or the marketing.audiences.read capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

storeResourceId*string

Identifier (resource_id) of the store the customer belongs to.

resourceId*string

Identifier (resource_id) of the customer: the one you chose when you created it with create_store_customer.

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/stores/acme-shop/customers/customer-1042" \  -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"}