Coupon Codes

couponCodes #

couponCodes(search: Search, sort: Sort, pagination: Pagination) [CouponCode]

Example #

query couponCodes($search: Search, $sort: Sort, $pagination: Pagination){
  couponCodes(search: $search, sort: $sort, pagination: $pagination) {
    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