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 a Buy X, Get Y (BXGY) code discount
Arguments
id ● ID!non-null
The ID of the code discount to update
bxgyCodeDiscount ● DiscountCodeBxgyInput!non-null
The input data used to update the code discount
More
Return
codeDiscountNode ● DiscountCodeNode
The updated code discount.
More
userErrors ● [DiscountUserError!]!non-null
A list of mistakes that happen during mutation execution.
More
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?