Skip to main content
Anchor to discountCodeActivate

discountCodeActivate

mutation

Requires Apps must have write_discounts access scope.

Activates a code discount.

ID!required

The ID of the code discount to activate.


Was this section helpful?

Anchor to DiscountCodeActivatePayload returnsDiscountCodeActivatePayload returns

DiscountCodeNode

The activated code discount.

[DiscountUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?