Anchor to DiscountCodeRedeemCodeBulkDeletePayloadDiscount
payloadDiscount Code Redeem Code Bulk Delete Payload
Return type for mutation.
Anchor to FieldsFields
- job (Job)
- userErrors ([DiscountUserError!]!)
- •Job
The asynchronous job that deletes the discount codes.
- Anchor to userErrorsuser•[Discount
Errors User Error!]! 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
- discountCodeRedeemCodeBulkDelete (DiscountCodeRedeemCodeBulkDeletePayload)
- •mutation
Asynchronously delete discount codes in bulk that customers can use to redeem a discount.
- Anchor to discountIddiscount•ID!
Id required The ID of the
object that the codes will be removed from. For example,. You can use thequery to retrieve the ID.- Anchor to searchsearch•String
A filter made up of terms, connectives, modifiers, and comparators that you can use to search for code discounts. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
For a list of accepted values for the
searchfield, refer to thequeryargument on thequery.- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search.
Arguments
Was this section helpful?