POST /company/shops/@id/qguard/import
This endpoint requires authentication.
Header | Value |
---|---|
Authorization | Set the value to Bearer + + access_token |
Replace the @ keywords in the URL with their corresponding value.
A dictionary with fields
Field | Type | Description |
---|---|---|
id | Int | The ID of the shop |
Pass the following properties via application/json or form encoding in the body of the request.
Nullable. A dictionary with fields: Dictionary?
A dictionary with fields
Field | Type | Description |
---|---|---|
allergens | Bool | Checkbox if you want to import allergens or not |
ingredients | Bool | Checkbox if you want to import ingredients or not |
nutrients | Bool | Checkbox if you want to import nutrients or not |
POST /company/shops/18/qguard/import HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.10.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 73
{
"allergens": true,
"ingredients": true,
"nutrients": true
}
HTTP/1.1 200 OK