Cancel discount prices
Endpoint for canceling discount prices for given action id. This is a protected route, which means that authorization token with PUBLIC API full permissions is needed to access this route. Beside “Authorization” header, we must forward action parameter.
Request
Request:HTTP Method | PUT |
URL | Stage | https://api.stage.ananastest.com/payment/api/v1/merchant- integration/discounts/discountId/cancellations |
Production | https://api.ananas.rs/payment/api/v1/merchant- integration/discounts/discountId/cancellations |
HTTP Headers | | Header name | Header value | Authorization | Bearer {access_token} |
|
Path Parameters | | Parameter name | Parameter description | discountId | Discount action ID |
|