couponCode #
couponCode(id: String) CouponCode
Example #
query couponCode($id: String!){
couponCode(id: $id) {
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
}
}
}