# discountAutomaticBasicUpdate - admin-graphql - MUTATION Version: 2024-10 ## Description Updates an existing [amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) that's automatically applied on a cart and at checkout. > Note: > To update code discounts, use the [`discountCodeBasicUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBasicUpdate) mutation instead. ### Access Scopes Apps must have `write_discounts` access scope. ## Arguments * [automaticBasicDiscount](/docs/api/admin-graphql/2024-10/input-objects/DiscountAutomaticBasicInput): DiscountAutomaticBasicInput! - The input data used to update the automatic amount off discount. * [id](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - The ID of the automatic amount off discount to update. ## Returns * [automaticDiscountNode](/docs/api/admin-graphql/2024-10/objects/DiscountAutomaticNode): DiscountAutomaticNode The automatic discount that was updated. * [userErrors](/docs/api/admin-graphql/2024-10/objects/DiscountUserError): DiscountUserError! The list of errors that occurred from executing the mutation. ## Examples