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.
Activates an automatic discount
Arguments
id ● ID!non-null
The ID of the automatic discount that needs to be activate.
Return
automaticDiscountNode ● DiscountAutomaticNode
The activated automatic discount.
More
userErrors ● [DiscountUserError]
The list of errors that occurred from executing the mutation.
More
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?