discountAutomaticBasicUpdate - admin-graphql - MUTATION
Version: 2024-10
Description:
Updates a basic automatic discount.
Access Scopes
Apps must have `write_discounts` access scope.
Arguments
-
automaticBasicDiscount:
DiscountAutomaticBasicInput! -
The input data used to update the automatic discount.
-
id:
ID! -
The ID of the automatic discount to update.
Returns
-
automaticDiscountNode:
DiscountAutomaticNode
The updated automatic discount.
-
userErrors:
DiscountUserError!
The list of errors that occurred from executing the mutation.
Examples