discountAutomaticBxgyCreate - admin-graphql - MUTATION
Version: unstable
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