DELETE /company/shops/@id/banner
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 you want to delete the banner for |
DELETE /company/shops/1419/banner HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 3388d02155692116441bcd364e3db51db9ef91b767ad91243c9e7047e0de243e242f25ef3eeb189e24c00295060345ba7a4ebab4be3bc3994d7872cc6b2c80283e66f2cf0734ad84d4a35317065eed9e5a2f916f3306a7af2be9c86203c0c0af75f23e03
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
DELETE /company/shops/1420/banner HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 3388d02155692116441bcd364e3db51db9ef91b767ad91243c9e7047e0de243e242f25ef3eeb189e24c00295060345ba7a4ebab4be3bc3994d7872cc6b2c80283e66f2cf0734ad84d4a35317065eed9e5a2f916f3306a7af2be9c86203c0c0af75f23e03
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
HTTP/1.1 204 No Content
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."
}