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.
Updates an existing Buy X, Get Y (BXGY) automatic discount
Arguments
automaticBxgyDiscount ● DiscountAutomaticBxgyInput!non-null
The input data used to update the automatic discount
More
id ● ID!non-null
The ID of the automatic discount to update
Return
automaticDiscountNode ● DiscountAutomaticNode
The updated 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?