Anchor to DiscountCodeBasicUpdatePayloadDiscount
DiscountCodeBasicUpdatePayload
payload
Return type for mutation.
Anchor to FieldsFields
- Anchor to codeDiscountNodecode•
Discount Node The discount code that was updated.
- Anchor to userErrorsuser•
Errors [DiscountUser non-nullError!]! 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.
Was this section helpful?