Skip to main content
Anchor to DiscountCodeRedeemCodeBulkDeletePayload

DiscountCodeRedeemCodeBulkDeletePayload

payload

Return type for discountCodeRedeemCodeBulkDelete mutation.

•Job

The asynchronous job that deletes the discount codes.

•[DiscountUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

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

Arguments

•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.

•String

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.

•ID

The ID of a saved search.

•[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.



Was this section helpful?