Products
List store products
GET /stores/{storeResourceId}/products
GET
/stores/{storeResourceId}/productsReturns the products of one store catalog, most recently updated first.
When to use: To check which products Easymailing already knows for a shop, or to find the identifier of a product.
When not to use: To read one product with its variants use get_store_product.
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
Path Parameters
storeResourceId*string
Identifier (resource_id) of the store the product belongs to.
Query Parameters
page?integer
The collection page number
Default
1itemsPerPage?integer
The number of items per page
Range
0 <= value <= 50Default
30Response Body
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/stores/acme-shop/products" \ -H "X-Auth-Token: YOUR_API_KEY"[ { "resource_id": "string", "title": "string", "description": "string", "vendor": "string", "url": "http://example.com", "image_url": "http://example.com", "variants": [ { "resource_id": "string", "title": "string", "sku": "string", "price": 0, "inventory_quantity": 0, "image_url": "http://example.com", "url": "http://example.com", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "categories": [ "/entity/1" ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }]