POST /dashboard/puratos/statistics/products/update
This endpoint requires authentication.
Header | Value |
---|---|
Authorization | Set the value to Bearer + + access_token |
This endpoint requires uploaded files in the HTTP request. You can check the examples on the right for more information or read more about this on MDN.
Key | Description |
---|---|
file |
Upload a single file |
POST /dashboard/puratos/statistics/products/update HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.10.0
Accept-Language: en-US,en;q=0.5
Content-Type: multipart/form-data;boundary="boundary"
--boundary
Content-Disposition: form-data; name="single"; filename="test.png"
Content-Type: image/png
...<Binary file here depending on Content-Transfer-Encoding field>...
--boundary--
A dictionary with fields
Field | Type | Description |
---|---|---|
new_products | [String] | Array of String |
all_products | [String] | Array of String |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 148
{
"new_products": [
"...",
"...",
"..."
],
"all_products": [
"...",
"...",
"..."
]
}