Skip to main content
Anchor to DiscountCodeFreeShippingCreatePayload

DiscountCodeFreeShippingCreatePayload

payload

Return type for discountCodeFreeShippingCreate mutation.

•DiscountCodeNode

The discount code 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 an free shipping discount that's applied on a cart and at checkout when a customer enters a code.


Note

To create discounts that are automatically applied on a cart and at checkout, use the discountAutomaticFreeShippingCreate mutation.



Was this section helpful?