Redeem Coupon
Changed onRedeems a coupon by reference number against a specific transaction. Consumes one unit of the coupon's remaining quantity and removes the caller's reservation if one exists.
Request
- Base URLhttps://api.npretail.app
- AuthAPI key in header x-np-api-key
Path parameters
Your Entra Tenant ID. More details.
Your Business Central Environment. More details.
Your Business Central Company. More details.
Headers
Used for API versioning. More details.
Request body
Response
Response with status 200
Changes
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
the request's body type changed from no type to
object - breaking
the response's body type changed from no type to
objectfor status - warning
deleted the
headerrequest parameterx-np-api-key - info
the endpoint scheme security
NPApiKeyAuthSchemewas added to the API - info
added the required property
to the response with the status
- breaking
- info
api operation id
redeem-couponremoved and replaced withcoupon_serviceCoupon_redeemCoupon
- info