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.

ticketIdUUIDRequired

The unique identifier of a ticket

Headers

x-api-versiondateOptional

Used for API versioning. More details.

Request

This endpoint expects an object.
couponTypestringOptional

The type of coupon

Response

This endpoint returns an object.
couponIdUUID

The unique identifier of a coupon

couponNumberstring

The external reference number of the coupon.

couponTypestringOptional

The type of coupon

Built with