Skip to main content
Anchor to DiscountAutomaticBulkDeletePayload

DiscountAutomaticBulkDeletePayload

payload

Return type for discountAutomaticBulkDelete mutation.

•Job

The asynchronous job removing the automatic discounts.

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

Deletes multiple automatic discounts in a single operation, providing efficient bulk management for stores with extensive discount catalogs. This mutation processes deletions asynchronously to handle large volumes without blocking other operations.

For example, when cleaning up expired seasonal promotions or removing outdated automatic discounts across product categories, merchants can delete dozens of discounts simultaneously rather than processing each individually.

Use DiscountAutomaticBulkDelete to:

  • Remove multiple automatic discounts efficiently
  • Clean up expired or obsolete promotions
  • Streamline discount management workflows
  • Process large-scale discount removals asynchronously

The operation returns a job object for tracking deletion progress and any validation errors encountered during processing.

Learn more about discount management.


Was this section helpful?