Check Coupon

Beta
Checks coupon availability.

Authentication

x-np-api-keystring
API Key authentication via header

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

couponIdUUIDRequired
The unique system identifier for the coupon.

Headers

x-api-versiondateOptional

Used for API versioning. More details.

Response

This endpoint returns an object.
couponIdstring
The unique identifier of the coupon..
documentNostring
The document number which links coupon to specific transaction.
referenceNostring

A unique, human-readable reference number, often used for barcodes.

couponTypestring
The type of coupon, which carries the setup in NP Retail.
descriptionstring
A short description of the coupon and its intended use..
startingDatedatetime
The date and time when the coupon becomes valid.
endingDatedatetime
The date and time when the coupon expires.
openboolean
Indicates whether the coupon is currently active and available for use.
maxUsePerSaleinteger
The maximum number of times this coupon can be applied in a single sale or transaction.
remainingQuantitydouble
The number of uses left for this coupon.
inUseQuantityinteger
The number of times the coupon is currently being used in active transactions.