Anchor to section titled 'undefined'

discountAutomaticBulkDelete
mutation

Requires Apps must have write_discounts access scope.

Asynchronously delete automatic discounts in bulk if a search or saved_search_id 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.


The IDs of the automatic discounts to delete.

The ID of the saved search to use for filtering automatic discounts to delete.

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?

The asynchronous job removing the automatic discounts.

The list of errors that occurred from executing the mutation.


Was this section helpful?