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": 294,
    "name": "The Pastry Sheet",
    "active": true,
    "address": {
        "street": "Lacroixring",
        "nr": "55",
        "zipcode": "4340",
        "city": "Antwerpen",
        "country": "BE",
        "position": {
            "latitude": 51.260197,
            "longitude": 4.402771
        }
    },
    "avatar": {
        "resolutions": [
            {
                "src": "https://bakeronline.be/uploads/shop-avatars/294/180x180/bakkerij-in-side-out.gif",
                "width": 180,
                "height": 210
            },
            {
                "src": "https://bakeronline.be/uploads/shop-avatars/294/360x360/bakkerij-in-side-out.gif",
                "width": 257,
                "height": 300
            }
        ]
    },
    "banner": null,
    "allow_comments": true,
    "allow_orders": true,
    "delivery_use_intervals": false
}

Response

When returned in a response.

Example 1

{
    "id": 295,
    "name": "Best Thing Since Sliced Bread",
    "active": true,
    "address": {
        "street": "Baertdreef",
        "nr": "99",
        "zipcode": "6280",
        "city": "Hamont-Achel",
        "country": "BE",
        "position": {
            "latitude": 51.260197,
            "longitude": 4.402771
        }
    },
    "avatar": {
        "resolutions": [
            {
                "src": "https://bakeronline.be/uploads/shop-avatars/295/180x180/boulangerie-patisserie-tilman-namur.jpg",
                "width": 124,
                "height": 124
            }
        ]
    },
    "banner": null,
    "allow_comments": true,
    "allow_orders": true,
    "delivery_use_intervals": false
}
1.5.0 stable