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 basic code discount.
Arguments
basicCodeDiscount ● DiscountCodeBasicInput
The input data used to update the code discount
More
id ● ID
The ID of the code discount to update
Return
codeDiscountNode ● DiscountCodeNode
The underlying code discount object.
More
userErrors ● [DiscountUserError!]!non-null
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?