company.Shop.simple

Request

Fields when send to the api inside a request.

Field Type Description
name String Name of the shop (not translateable for now)
active Bool A boolean value
address Address.detailed An address
allow_comments Bool A boolean value
allow_orders Bool A boolean value
delivery_use_intervals Bool A boolean value

Response

Fields when returned by the api in a response.

Field Type Description
name String Name of the shop (not translateable for now)
active Bool A boolean value
address Address.detailed An address
allow_comments Bool A boolean value
allow_orders Bool A boolean value
delivery_use_intervals Bool A boolean value
id Int ID of the shop
avatar Image? Nullable.
banner Image? Nullable.

Examples

Request

When used inside a request.

Example 1

{
    "id": 3488,
    "name": "Makes Scents",
    "active": true,
    "address": {
        "street": "Claessenslaan",
        "nr": "47",
        "zipcode": "8700",
        "city": "Binche",
        "country": "BE",
        "position": {
            "latitude": 51.05,
            "longitude": 3.71667
        }
    },
    "avatar": {
        "resolutions": [
            {
                "src": "https://bakeronline.be/uploads/shop-avatars/3488/180x180/bakkerij-verleysen-hofstade.png",
                "width": 180,
                "height": 180
            },
            {
                "src": "https://bakeronline.be/uploads/shop-avatars/3488/360x360/bakkerij-verleysen-hofstade.png",
                "width": 300,
                "height": 300
            }
        ]
    },
    "banner": {
        "resolutions": [
            {
                "src": "https://bakeronline.be/uploads/banner/3488/1300x315/brood-en-banket-de-wit-schoten.jpg",
                "width": 450,
                "height": 300
            },
            {
                "src": "https://bakeronline.be/uploads/banner/3488/900x250/brood-en-banket-de-wit-schoten.jpg",
                "width": 450,
                "height": 300
            }
        ]
    },
    "allow_comments": false,
    "allow_orders": true,
    "delivery_use_intervals": false
}

Response

When returned in a response.

Example 1

{
    "id": 3490,
    "name": "Cake Bakes",
    "active": true,
    "address": {
        "street": "Lecocqdreef",
        "nr": "36",
        "zipcode": "5550",
        "city": "Kortrijk",
        "country": "BE",
        "position": {
            "latitude": 51.05,
            "longitude": 3.71667
        }
    },
    "avatar": {
        "resolutions": [
            {
                "src": "https://bakeronline.be/uploads/shop-avatars/3490/180x180/bakkerij-bonitas.jpg",
                "width": 174,
                "height": 159
            }
        ]
    },
    "banner": {
        "resolutions": [
            {
                "src": "https://bakeronline.be/uploads/banner/3490/1300x315/brood-en-banketbakkerij-j-van-der-waal.jpg",
                "width": 450,
                "height": 260
            },
            {
                "src": "https://bakeronline.be/uploads/banner/3490/900x250/brood-en-banketbakkerij-j-van-der-waal.jpg",
                "width": 450,
                "height": 260
            }
        ]
    },
    "allow_comments": false,
    "allow_orders": true,
    "delivery_use_intervals": false
}
Version update available Please adjust your integration to the latest stable version (1.5.2)
1.5.0 stable