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