Skip to main content
Anchor to DiscountAutomaticBasicUpdatePayload

DiscountAutomaticBasicUpdatePayload

payload

Return type for discountAutomaticBasicUpdate mutation.

Anchor to automaticDiscountNodeautomaticDiscountNode
•DiscountAutomaticNode

The automatic discount that was updated.

Show fields
•[DiscountUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

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


Note

To update code discounts, use the discountCodeBasicUpdate mutation instead.


Show payload

Arguments

Anchor to automaticBasicDiscountautomaticBasicDiscount
•DiscountAutomaticBasicInput!
required

The input data used to update the automatic amount off discount.

Show input fields
•ID!
required

The ID of the automatic amount off discount to update.



Was this section helpful?