Skip to main content
Anchor to DiscountCodeFreeShippingUpdatePayload

DiscountCodeFreeShippingUpdatePayload

payload

Return type for discountCodeFreeShippingUpdate mutation.

•DiscountCodeNode

The discount code that was updated.

Show fields
•[DiscountUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Updates a free shipping discount that's applied on a cart and at checkout when a customer enters a code.


Note

To update a free shipping discount that's automatically applied on a cart and at checkout, use the discountAutomaticFreeShippingUpdate mutation.


Show payload

Arguments

Anchor to freeShippingCodeDiscountfreeShippingCodeDiscount
•DiscountCodeFreeShippingInput!
required

The input data used to update the discount code.

Show input fields
•ID!
required

The ID of the discount code to update.



Was this section helpful?