deleteTrackedShipments

Delete an existing tracked shipment.

Arguments

NameTypeDescription
trackedShipments[DeleteTrackedShipmentInput!]!The details of the tracked shipment to delete.

DeleteTrackedShipmentInput Fields

NameTypeDescription
customerCustomerInputThe organization and user unique identification credentials.
idObjectIdThe unique Windward assigned ID of the tracked shipment to be deleted.
shipmentIdObjectIdThe MongoDB ID of the tracked shipment to be deleted.

Example Code

Sample Mutation

mutation DeleteTrackedShipments($trackedShipments: [DeleteTrackedShipmentInput!]!) {
  deleteTrackedShipments(trackedShipments: $trackedShipments)
}

Variables

{
  "trackedShipments": [
    {
      "id": "621ca0a820912bbfa247733c"
    }
  ]
}

Response

{
  "data": {
    "deleteTrackedShipments": true
  }
}