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 DiscountAutomaticBxgyCreatePayload

DiscountAutomaticBxgyCreatePayload

payload

Return type for discountAutomaticBxgyCreate mutation.

Anchor to automaticDiscountNodeautomaticDiscountNode
•

The automatic discount that was created.

•

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 a buy X get Y discount (BXGY) that's automatically applied on a cart and at checkout.


Note

To create code discounts, use the discountCodeBxgyCreate mutation.



Was this section helpful?