Skip to main content
Log inSign up
Anchor to discountAutomaticFreeShippingUpdate

discountAutomaticFreeShippingUpdate

mutation

Requires Apps must have write_discounts access scope.

Updates an existing free shipping discount that's automatically applied on a cart and at checkout.


Note

To update code discounts, use the discountCodeFreeShippingUpdate mutation instead.


Anchor to freeShippingAutomaticDiscountfreeShippingAutomaticDiscount
•

The input data used to update the automatic free shipping discount.

•
ID!required

The ID of the automatic free shipping discount to update.


Was this section helpful?

Anchor to DiscountAutomaticFreeShippingUpdatePayload returnsDiscountAutomaticFreeShippingUpdatePayload returns

Anchor to automaticDiscountNodeautomaticDiscountNode
•

The automatic discount that was updated.

•

The list of errors that occurred from executing the mutation.


Was this section helpful?