Skip to main content
Anchor to discountCodeDeactivate

discountCodeDeactivate

mutation

Requires Apps must have write_discounts access scope.

Deactivates a code discount.

•ID!
required

The ID of the code discount to deactivate.


Was this section helpful?

Anchor to DiscountCodeDeactivatePayload returnsDiscountCodeDeactivatePayload returns

•DiscountCodeNode

The deactivated code discount.

•[DiscountUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?
OSZAR »