Shopemaa GraphQL Types #
NewCouponCodeParams #
Type: Input
Fields:
code: String // Required
amount: Int // Required
minOrderAmount: Int
maxDiscountAmount: Int
isActive: Boolean // Required
isFlatDiscount: Boolean // Required
isForNewUsersOnly: Boolean // Required
isUserSpecific: Boolean // Required
maxUsage: Int
maxUsagePerUser: Int
discountType: DiscountType // Required
description: String
image: String
startAt: String
endAt: String
customers: [String]