rules customers
Remove customers
Remove Discount from one or more customers
scopes:
- admin:discounts
- write:discounts
DELETE
aid_discounts_did_customers_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
Body
application/json
Customers to give the discount to
Use value '*' to remove the discounts from all customers
Response
Discount deleted from customers
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: