Requires write_discounts access scope.
An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Creates basic automatic discount.
Arguments
automaticBasicDiscount ● DiscountAutomaticBasicInput!non-null
Input data for creating a basic automatic discount.
More
Return
automaticDiscountNode ● DiscountAutomaticNode
The created automatic discount.
More
userErrors ● [DiscountUserError!]!non-null
The list of errors.
More
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?