UpdateCouponInput
Input for the updateCoupon mutation.
input UpdateCouponInput {
code: String
id: UUID!
maxUsages: Int
validFrom: DateTime
validUntil: DateTime
}
Fields
UpdateCouponInput.code
● String
scalar
The code of the coupon.
UpdateCouponInput.id
● UUID!
non-null scalar
The id of the coupon to update.
UpdateCouponInput.maxUsages
● Int
scalar
The maximum number of times the coupon can be used.
UpdateCouponInput.validFrom
● DateTime
scalar
The date and time from which the coupon is valid.
UpdateCouponInput.validUntil
● DateTime
scalar
The date and time until which the coupon is valid.
Member Of
updateCoupon
mutation