We're constantly trying to improve your support experience, and your feedback is extremely valuable to us.

Please take a moment to tell us about your experience today.
Sign up for future Help Center user research studies.

discountAutomaticBulkDelete

Version 2019-04

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.

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

ids ( [ID!] )

The IDs of the discounts to delete.

search ( String )

The search query for filtering automatic discounts on.

Return Fields

job (Job)

The asynchronous job removing the automatic discounts.

userErrors ([DiscountUserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07 (Latest)

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.

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

ids ( [ID!] )

The IDs of the discounts to delete.

savedSearchId ( ID )

The ID of the saved search.

search ( String )

The search query for filtering automatic discounts on.

Return Fields

job (Job)

The asynchronous job removing the automatic discounts.

userErrors ([DiscountUserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Release candidate)

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.

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

ids ( [ID!] )

The IDs of the discounts to delete.

savedSearchId ( ID )

The ID of the saved search.

search ( String )

The search query for filtering automatic discounts on.

Return Fields

job (Job)

The asynchronous job removing the automatic discounts.

userErrors ([DiscountUserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up