Skip to main content
Anchor to DiscountAutomaticFreeShippingCreatePayload

DiscountAutomaticFreeShippingCreatePayload

payload

Return type for discountAutomaticFreeShippingCreate mutation.

Anchor to automaticDiscountNodeautomaticDiscountNode
•DiscountAutomaticNode

The automatic free shipping discount that was created.

•[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

Creates automatic free shipping discounts that apply to qualifying orders without requiring discount codes. These promotions automatically activate when customers meet specified criteria, streamlining the checkout experience.

For example, a store might create an automatic free shipping discount for orders over variable pricing to encourage larger purchases, or offer free shipping to specific customer segments during promotional periods.

Use DiscountAutomaticFreeShippingCreate to:

  • Set up code-free shipping promotions
  • Create order value-based shipping incentives
  • Target specific customer groups with shipping benefits
  • Establish location-based shipping discounts

The mutation validates discount configuration and returns the created automatic discount node along with any configuration errors that need resolution.

Learn more about automatic discounts.


Was this section helpful?