discountAutomaticBxgyCreate - admin-graphql - MUTATION
Version: 2024-10
Description:
Creates a BXGY automatic discount.
Access Scopes
Apps must have `write_discounts` access scope.
Arguments
-
automaticBxgyDiscount:
DiscountAutomaticBxgyInput! -
The input data used to create the automatic discount.
Returns
-
automaticDiscountNode:
DiscountAutomaticNode
The created automatic discount.
-
userErrors:
DiscountUserError!
The list of errors that occurred from executing the mutation.
Examples