CouponCode

Shopemaa GraphQL Types #

CouponCode #

Type: Object

Fields:

id: String
code: String
amount: Int
minOrderAmount: Int	// Optional
maxDiscountAmount: Int	// Optional
isActive: Boolean
isFlatDiscount: Boolean
isForNewUsersOnly: Boolean
isUserSpecific: Boolean
maxUsage: Int	// Optional
maxUsagePerUser: Int	// Optional
discountType: DiscountType
description: String	// Optional
image: String	// Optional
startAt: String	// Optional
endAt: String	// Optional
createdAt: String
updatedAt: String	// Optional
customers: [Customer]	// Optional