discount Code Redeem Code Bulk Delete
Requires Apps must have access scope.
Asynchronously delete discount codes in bulk that customers can use to redeem a discount.
Arguments
- Anchor to discountIddiscount•
Id ID!required The ID of the
object that the codes will be removed from. For example,
. You can use the
query to retrieve the ID.
- •
The IDs of the
objects to delete. For example,
. You can use the
query to retrieve the ID.
- Anchor to savedSearchIdsaved•
Search Id The ID of a saved search.
- Anchor to searchsearch•
A filter made up of terms, connectives, modifiers, and comparators that you can use to search for code discounts. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
For a list of accepted values for the
search
field, refer to thequery
argument on thequery.
Anchor to DiscountCodeRedeemCodeBulkDeletePayload returnsDiscount Code Redeem Code Bulk Delete Payload returns
- •
The asynchronous job that deletes the discount codes.
- Anchor to userErrorsuser•
Errors [DiscountUser Error!]!non-null The list of errors that occurred from executing the mutation.