Magidoc

checkoutLineDelete
Mutation

Deletes a CheckoutLine.

Arguments

#

checkoutId

ID !
Non-null

The ID of the checkout.

lineId

ID of the checkout line to delete.

Response

#

Returns CheckoutLineDelete .

Example

#

    mutation ($checkoutId: ID!, $lineId: ID) {
  checkoutLineDelete(checkoutId: $checkoutId, lineId: $lineId) {
    checkout {
      created
      lastChange
      quantity
      note
      currency
      discountName
      translatedDiscountName
      voucherCode
      poNumbers
      id
      email
      isShippingRequired
      token
      discountType
    }
    checkoutErrors {
      field
      message
      code
      variants
    }
  }
}

  

3