rules
Delete discount
Delete a discount
- Customer that has previously received the discount will not be able to use it on purchases.
- rules automations belonging to the discount will be deleted
scopes:
- admin:discounts
- write:discounts
DELETE
aid_discounts_did_delete
Authorizations
Bearer authentication (token authentication) should be used for accessing the API.
Use Get Token to get an access token for client credentials. Pass the token in the request header:
where the access_token is JSON Web Tokens (JWT).
Path Parameters
Response
Discount deleted
Additional metadata about the discount
Metadata prefixed with dintero:exclude:public: will
be excluded when listing the rules from the public endpoint
and included in all other endpoints that returns discount rules
Example: