Skip to main content
Anchor to DiscountAutomaticFreeShippingUpdatePayload

DiscountAutomaticFreeShippingUpdatePayload

payload

Return type for discountAutomaticFreeShippingUpdate mutation.

Anchor to automaticDiscountNodeautomaticDiscountNode
•DiscountAutomaticNode

The automatic discount 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 existing automatic free shipping discounts, allowing merchants to modify promotion criteria, shipping destinations, and eligibility requirements without recreating the entire discount structure.

For example, extending a holiday free shipping promotion to include additional countries, adjusting the minimum order value threshold, or expanding customer eligibility to include new segments.

Use DiscountAutomaticFreeShippingUpdate to:

  • Modify shipping discount thresholds and criteria
  • Expand or restrict geographic availability
  • Update customer targeting and eligibility rules
  • Adjust promotion timing and activation periods

Changes take effect immediately for new orders, while the mutation validates all modifications and reports any configuration conflicts through user errors.

Learn more about managing automatic discounts.


Was this section helpful?