Skip to main content
Anchor to DiscountCodeBasicUpdatePayload

DiscountCodeBasicUpdatePayload

payload

Return type for discountCodeBasicUpdate mutation.

•DiscountCodeNode

The discount code that was updated.

•[DiscountUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Updates an amount off discount that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off.


Note

To update discounts that are automatically applied on a cart and at checkout, use the discountAutomaticBasicUpdate mutation.



Was this section helpful?