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.
Asynchronously add discount codes in bulk, specifying the codes to be added and the discount code ID to which they belong.
Arguments
discountId ● ID!non-null
The discount code ID to which the codes will be added.
The list of codes to be added to the discount. A maximum of 100 codes is allowed.
More
Return
The ID of the discount redeem code bulk creation operation
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?