Delete a user discount entry

DELETE /company/shops/@id/user-discounts/@discount_id

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 Shop ID
discount_id Int UserDiscount ID

Example request 1

DELETE /company/shops/16/user-discounts/12 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.9.0
Accept-Language: en-US,en;q=0.5

Response

Example response 1

HTTP/1.1 200 OK
1.9.0 stable