GLOBHE logo
Developers

Cancel Order

Cancel a order that is still in the reviewing status by specifying the order id. The cancel request will fail on any orders that are no longer inreviewing status.

DELETE https://us-central1-globhe-app.cloudfunctions.net/api/v2/orders/:id
Example Request
DELETE https://us-central1-globhe-app.cloudfunctions.net/api/v2/orders/123456789
Example Response
{
  "id": "123456789",
  "areaSize": 49468049.34829436,
  "clientEmail": "Rx7ykfyKBN0OSg@MdMbVlqohZhCmqdC.dp",
  "deliveryDeadline": "1955-09-19",
  "clientName": "Lord Palpatine",
  "companyName": "The Dark Side",
  "description": "pariatur fugiat",
  "orderPrice": 90302877.53317097,
  "orderStatus": "cancelled",
  "locationMap": [
    {
      "lat": 89.59607725985146,
      "lng": 131.18019461249787
    },
    {
      "lat": 73.2426077887128,
      "lng": 102.17697778830319
    }
  ],
  "mapTypes": [
    "ndvi",
    "digitalTerrainModel"
  ],
  "notifications": {
    "webhook": "https://kvpmHNa.fuvcdQjX0QTKSyVs65ZxUpSuCyVSy",
    "email": true
  },
  "otherMapType": "incididunt non eu eiusmod"
}