Magidoc

CreateCouponInput
Input Object

Create a new coupon input

Fields

#

additionalMetaData

Metadata associated with the entity

amountsOff

Fixed amount discounts in different currencies

description

Description of the coupon

discountValue

Discount value of the coupon (deprecated)

durationInMonths

Duration of the coupon validity in months

environmentId

The unique identifier for the environment

name

Non-null

Name of the coupon

percentOff

Percentage discount off the original price

refId

Non-null

The unique identifier for the entity

type

Type of the coupon (percentage or fixed amount)

Usages

#

References

#

  • Argument input of field createOneCoupon from type Mutation