Count how many customers will receive the newsletter

GET /company/companies/@id/newsletters/receivers

Request

Authentication

This endpoint requires authentication.

Header Value
Authorization Set the value to Bearer + + access_token

Query string (URL)

Append the querystring with following properties to the URL.

A dictionary with fields

Field Type Description
shop_ids [Int] Shop IDs

Example request 1

GET /company/companies/@id/newsletters/receivers?shop_ids%5B0%5D=17&shop_ids%5B1%5D=10&shop_ids%5B2%5D=13 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.10.0
Accept-Language: en-US,en;q=0.5

Response

A dictionary with fields

Field Type Description
count Int How many customers will receive the newsletter

Example response 1

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 19

{
    "count": 11
}
This is a development version Do not use this version in production
1.10.0 development