couponUpdate
Graphql fields and variables for the couponUpdate mutation
mutation couponUpdate ($id: ID!, $attributes: CouponAttributes!) {
couponUpdate (id: $id, attributes: $attributes) {
coupon {
active
couponCode
createdAt
currencyId
description
discountAmount
discountPercentage
duration
id
name
planId
redemptionEndDate
redemptionsCount
redemptionsMax
remainingPeriods
updatedAt
}
errors
}
}Arguments
Name
Type
Description
Response
Name
Type
Description
Last updated
Was this helpful?
