@stigg/node-server-sdk - v4.22.1

    Type Alias CreateCouponInput

    Create a new coupon input

    Index

    Properties

    additionalMetaData?: InputMaybe<Scalars["JSON"]>

    Metadata associated with the entity

    amountsOff?: InputMaybe<MoneyInputDto[]>

    Fixed amount discounts in different currencies

    description?: InputMaybe<Scalars["String"]>

    Description of the coupon

    discountValue?: InputMaybe<Scalars["Float"]>

    Discount value of the coupon (deprecated)

    durationInMonths?: InputMaybe<Scalars["Float"]>

    Duration of the coupon validity in months

    environmentId?: InputMaybe<Scalars["UUID"]>

    The unique identifier for the environment

    Name of the coupon

    percentOff?: InputMaybe<Scalars["Float"]>

    Percentage discount off the original price

    The unique identifier for the entity

    Type of the coupon (percentage or fixed amount)

    MMNEPVFCICPMFPCPTTAAATR