Check Coupon
Checks coupon availability.
Authentication
x-np-api-keystring
API Key authentication via header
Path parameters
tenant
Your Entra Tenant ID. More details.
environment
Your Business Central Environment. More details.
company
Your Business Central Company. More details.
couponId
The unique system identifier for the coupon.
Headers
x-api-version
Used for API versioning. More details.
Response
This endpoint returns an object.
couponId
The unique identifier of the coupon..
documentNo
The document number which links coupon to specific transaction.
referenceNo
A unique, human-readable reference number, often used for barcodes.
couponType
The type of coupon, which carries the setup in NP Retail.
description
A short description of the coupon and its intended use..
startingDate
The date and time when the coupon becomes valid.
endingDate
The date and time when the coupon expires.
open
Indicates whether the coupon is currently active and available for use.
maxUsePerSale
The maximum number of times this coupon can be applied in a single sale or transaction.
remainingQuantity
The number of uses left for this coupon.
inUseQuantity
The number of times the coupon is currently being used in active transactions.
