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 MethodPUT
URLStagehttps://api.stage.ananastest.com/payment/api/v1/merchant- integration/discounts/discountId/cancellations
Productionhttps://api.ananas.rs/payment/api/v1/merchant- integration/discounts/discountId/cancellations
HTTP Headers
Header nameHeader value
AuthorizationBearer {access_token}
Path Parameters
Parameter nameParameter description
discountIdDiscount action ID
Copyright © Ananas 2023. All right reserved.