Get Coupon
BetaRetrieves the details of a specific coupon by its system ID.
Path parameters
tenant
Your Entra Tenant ID. More details.
environment
Your Business Central Environment. More details.
company
Your Business Central Company. More details.
id
The unique system identifier for the coupon.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-api-version
Used for API versioning. More details.
Response
This endpoint returns an object.
id
The unique system identifier for the coupon.
number
The internal coupon number from the number series.
type
The type of voucher, which carries the setup in NP Retail.
description
A short description of the coupon.
barcode
A unique, human-readable reference number, often used for barcodes.
status
The current status of the coupon.
Allowed values:
discountType
The type of discount the coupon provides.
Allowed values:
validFrom
The date and time from which the coupon is valid.
maxUsesPerSale
The maximum number of times this coupon can be used in a single sale.
issueDate
The date the coupon was first issued.
discountAmount
The fixed discount amount, if applicable.
discountPercent
The discount as a percentage, if applicable.
maxDiscountAmount
The maximum discount amount that can be applied.
validUntil
The date and time when the coupon expires.
customerNo
The customer number this coupon is assigned to, if any.
remainingQuantity
The remaining times the coupon can be used, if applicable.