Delete discount

Permanently deletes a product discount.

  • A discount used by any product or order can't be deleted. Once an order has used it, it stays blocked while that order exists. To stop offering it, set is_active to false with Update discount.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
≥ 1

Your merchant profile ID. Required in every request.

Find it in the BillPro dashboard address, after /profiles/. For example, in /profiles/1234/orders the profile ID is 1234.

string
required

ID of the discount. A discount from another profile returns 404.

Responses
204

Done. No response body.

Language
Credentials
Bearer
API token
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json