Stores
List connected stores
GET /stores
GET
/storesReturns the online stores connected to the account, each linked to an audience and, optionally, a group.
When to use: To see which shops are already connected before creating one, or to find the resource_id of a store you need for its customers, products or orders.
When not to use: To read a single store use get_store.
Filters: audience: UUID of an audience; returns only the stores connected to it.
Permissions: Requires the viewer role or higher, or the marketing.audiences.read capability.
X-Auth-Token<token>
Value for the X-Auth-Token header parameter.
In: header
Query Parameters
page?integer
The collection page number
Default
1itemsPerPage?integer
The number of items per page
Range
0 <= value <= 50Default
30audience?string
Return only the stores connected to this audience UUID.
Response Body
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/stores?audience=0df14405-90ff-4287-b3e4-ef088901ee6f" \ -H "X-Auth-Token: YOUR_API_KEY"[ { "resource_id": "string", "name": "string", "domain": "http://example.com", "platform": "string", "locale": "string", "timezone": "string", "audience": "string", "group": "/entity/1", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }]