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}#___discount_on_shippingUpdate a reward.Path ParamsidintegerrequiredReward IDBody ParamsThe object with fields to updatedescriptionstringrequireddiscount_typestringenumrequiredDiscount type defines if a customer should receive a discount of eg. 10% or eg. $10 on their shipping cost.numericpercentageAllowed:numericpercentagediscount_valuedoublerequiredtitlestringrequiredtypestringenumrequiredDiscountOnShippingAllowed:DiscountOnShippingResponses 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