Anchor to discountAutomaticBulkDeletediscount
mutationdiscount Automatic Bulk Delete
Requires Apps must have access scope.
Asynchronously delete automatic discounts in bulk if a search
or argument is provided or if a
maximum discount threshold is reached (1,000). Otherwise, deletions will occur inline.
Warning: All automatic discounts will be deleted if a blank
search
argument is provided.
Anchor to Arguments
Arguments
- •[ID!]
The IDs of the automatic discounts to delete.
- Anchor to savedSearchIdsaved•ID
Search Id The ID of the saved search to use for filtering automatic discounts to delete.
- Anchor to searchsearch•String
The search query for filtering automatic discounts to delete.
For more information on the list of supported fields and search syntax, refer to the AutomaticDiscountNodes query section.
Was this section helpful?
- •Job
The asynchronous job removing the automatic discounts.
- Anchor to userErrorsuser•[Discount
Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?