New Coupon Code

newCouponCode #

newCouponCode(params: NewCouponCodeParams) CouponCode

Example #

mutation newCouponCode($params: NewCouponCodeParams!){
  newCouponCode(params: $params) {
    id
    code
    amount
    minOrderAmount
    maxDiscountAmount
    isActive
    isFlatDiscount
    isForNewUsersOnly
    isUserSpecific
    maxUsage
    maxUsagePerUser
    discountType
    description
    image
    startAt
    endAt
    createdAt
    updatedAt
    customers {
      email
      phone
      firstName
      lastName
      profilePicture
      profilePictureFull
    }
  }
}

Try It Now