Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to discountCodeFreeShippingUpdate

discountCodeFreeShippingUpdate

mutation

Requires Apps must have write_discounts access scope.

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.


Anchor to freeShippingCodeDiscountfreeShippingCodeDiscount

The input data used to update the discount code.

ID!required

The ID of the discount code to update.


Was this section helpful?

Anchor to DiscountCodeFreeShippingUpdatePayload returnsDiscountCodeFreeShippingUpdatePayload returns

The discount code that was updated.

The list of errors that occurred from executing the mutation.


Was this section helpful?