discountAutomaticBulkDelete mutation

Version 2020-01 (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.

Version 2019-10 (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-07

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-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.

Sign up for a Partner account to get started.

Sign up