Exchange For Coupon

POST

Exchanges a ticket for a coupon, which can be used for discounts on future purchases. This endpoint is used when a customer opts to convert their ticket into a coupon, providing multiple value retention options. The ticket is validated, and a coupon is issued, providing value retention for the customer.

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

ticketNumberstringRequired

The unique identifier of a ticket

Headers

x-api-versiondateOptional

Used for API versioning. More details.

Request

This endpoint expects an object.
couponCodestringOptional

The alias of the coupon type. This is used to identify the coupon type in the system.

Response

This endpoint returns an object.
couponIdstring

The unique identifier of a coupon