couponDelete
Graphql fields and variables for the couponDelete mutation
Delete a coupon
Scope required: product:write
mutation couponDelete ($id: ID!) {
couponDelete (id: $id) {
coupon {
active
couponCode
createdAt
currencyId
description
discountAmount
discountPercentage
id
name
planId
redemptionEndDate
redemptionsCount
redemptionsMax
updatedAt
}
errors
}
}
Arguments
{
"id": "456123"
}
Name
Type
Description
id
ID
Response
Name
Type
Description
errors
String
Last updated
Was this helpful?