Anchor to discountCodeRedeemCodeBulkDeletediscount
mutationdiscount 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.
Anchor to Arguments
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.
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search.
- Anchor to searchsearch•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 thequery
argument on thequery.
Was this section helpful?
Anchor to DiscountCodeRedeemCodeBulkDeletePayload returnsDiscount Code Redeem Code Bulk Delete Payload returns
- •Job
The asynchronous job that deletes the discount codes.
- Anchor to userErrorsuser•[Discount
Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?