Magidoc

saleDelete
Mutation

Deletes a sale.

Arguments

#

id

ID !
Non-null

ID of a sale to delete.

Response

#

Returns SaleDelete .

Example

#

    mutation ($id: ID!) {
  saleDelete(id: $id) {
    discountErrors {
      field
      message
      code
    }
    sale {
      id
      name
      type
      value
      startDate
      endDate
      currency
      minCheckoutItemsQuantity
      saleType
    }
  }
}

  

3