Delete a shop's banner

DELETE /company/shops/@id/banner

Request

Authentication

This endpoint requires authentication.

Header Value
Authorization Set the value to Bearer + + access_token

URL parameters

Replace the @ keywords in the URL with their corresponding value.

A dictionary with fields

Field Type Description
id Int The ID of the shop you want to delete the banner for

Example request 1 Delete shop banner

DELETE /company/shops/2990/banner HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer c91da8405e81bdc9fa7da884bb840a9c4d87fa9b95976eac01406e83956c17f66984734ee57e99109cebd99cf46cf7acf59614ba1e3f19887bd71b9adabfb4b03ed0e37692d02f8345ce0e3921f95647816c2c4541d6b3755657e2cd73a705bfa405f368
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 2 Delete shop banner of shop without banner

DELETE /company/shops/2991/banner HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer c91da8405e81bdc9fa7da884bb840a9c4d87fa9b95976eac01406e83956c17f66984734ee57e99109cebd99cf46cf7acf59614ba1e3f19887bd71b9adabfb4b03ed0e37692d02f8345ce0e3921f95647816c2c4541d6b3755657e2cd73a705bfa405f368
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Response

Example response 1 Delete shop banner

HTTP/1.1 204 No Content

Example response 2 Delete shop banner of shop without banner

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 125

{
    "code": "invalid_request",
    "message": "No shop banner set. You can't delete a banner of a shop without a banner."
}
Version update available Please adjust your integration to the latest stable version (1.5.2)
1.5.0 stable