Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to discountCodeRedeemCodeBulkDelete

discountCodeRedeemCodeBulkDelete

mutation

Requires Apps must have write_discounts access scope.

Asynchronously delete discount codes in bulk that customers can use to redeem a discount.

ID!required

The ID of the DiscountCodeNode object that the codes will be removed from. For example, gid://shopify/DiscountCodeNode/123. You can use the codeDiscountNodes query to retrieve the ID.

The IDs of the DiscountRedeemCode objects to delete. For example, gid://shopify/DiscountRedeemCode/123. You can use the codeDiscountNodes query to retrieve the ID.

The ID of a saved search.

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 the query argument on the codeDiscountNodes query.


Was this section helpful?

Anchor to DiscountCodeRedeemCodeBulkDeletePayload returnsDiscountCodeRedeemCodeBulkDeletePayload returns

The asynchronous job that deletes the discount codes.

The list of errors that occurred from executing the mutation.


Was this section helpful?