Magidoc

Coupon
Object

Fields

#

additionalMetaData

Additional metadata associated with the coupon

amountsOff

[ Money !]

Fixed amount discounts in different currencies

billingId

ID of the coupon in the billing system

billingLinkUrl

URL to the coupon in the billing system

createdAt

Non-null

Date when the coupon was created

customers

description

Description of the coupon

discountValue

Non-null

Discount value of the coupon (deprecated)

durationInMonths

Duration of the coupon validity in months

environment

environmentId

Non-null

ID of the environment the coupon belongs to

id

Non-null

Unique identifier of the coupon

name

Non-null

Name of the coupon

percentOff

Percentage discount off the original price

refId

Non-null

Customer-given identifier of the coupon

source

Non-null

The source of the coupon

status

Non-null

Current status of the coupon

syncStates

type

Non-null

Type of the coupon (percentage or fixed amount)

updatedAt

Non-null

Date when the coupon was last updated

Usages

#

References

#