This is fake endpoint to describe variant of PUT /api/v2.1/rewards/{id}Ask AIput https://admin.sandbox.vouchery.app/api/v2.1/rewards/{id}#___set_discountUpdate a reward.Path ParamsidintegerrequiredReward IDBody ParamsThe object with fields to updatedescriptionstringrequireddiscount_typestringenumrequiredDiscount type defines if a customer should receive a discount of 10% or $10 on their order. Gft Card type of reward works as a gift card: voucher can be used several times, discount value can be distributed to many transactions.numericpercentagegift_cardAllowed:numericpercentagegift_carddiscount_valuedoublerequiredtitlestringrequiredtypestringenumrequiredSetDiscountAllowed:SetDiscountResponses 200Updated object 401Unauthorized error. 403Forbidden error. 422Unprocessable entity error. Validation failed. 500Internal server error. Try again in a few minutes or contact support.Updated over 2 years ago