---
updatedAt: 2026-10-29T19:59:01.000Z
agentTools:
  projectIndex: https://api-docs.planomatic.com/llms.txt
---

# Cancel Order

Cancels an order identified by order_id (or request_id). Beyond the documented 400 validation cases, the endpoint is rate-limited at a default of 100 requests / 60 seconds (HTTP 429, status 'rate-limit-exceeded') and returns HTTP 500 (status 'application-crash') on an unexpected server error. The rate limit is admin-managed and may change per integration.

## Overview

The Order Cancelation API is an easy tool your team can use to cancel any PlanOmatic order prior to it being scheduled.

#### How long after placing an order can I cancel it via the V3 Order Cancelation API?

The V3 Order Cancelation API will allow you to cancel any order while it is still in a cancelable status (`new_request`, `ordered`, or `scheduling`) and has no confirmed appointment.  An order typically leaves these statuses once it is scheduled, which often happens within hours of placement but can vary from order to order based on many factors.  We recommend subscribing to the [appointment.scheduled webhook event](https://api-docs.planomatic.com/reference/event-triggers) so your system knows when an order can no longer be canceled.

## How to Test

Email <integration@planomatic.com> for access to our QA environment, then send your requests to the QA host with your QA API key. Canceling a QA order is also the one way to receive a webhook (`order.canceled`) from QA. [Test environment >](https://api-docs.planomatic.com/reference/sandbox-environment)

```
POST https://api.planomatic.com/api/v3/orders/cancel      # Production
POST https://api.qa.planomatic.com/api/v3/orders/cancel   # QA
```

## Valid Cancelation Reasons

Providing accurate cancelation reasons and notes help us provide more meaningful reporting back to your teams.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        cancelation_reason
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        duplicate\_order
      </td>

      <td>
        The order being canceled is a duplicate of an order placed perviously.
      </td>
    </tr>

    <tr>
      <td>
        client\_requested\_cancelation
      </td>

      <td>
        The client is requesting a cancelation.  Please provide additional notes to help us understand your needs.
      </td>
    </tr>
  </tbody>
</Table>

## Cancelable Order Statuses

An order can be canceled only while its status is one of `new_request`, `ordered`, or `scheduling`, **and** it has no confirmed appointments. Cancelability is determined by this status rule (not by a fixed time window). The set of cancelable statuses is admin-managed and may change.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "order-api-v3",
    "version": "3.0"
  },
  "servers": [
    {
      "url": "https://api.planomatic.com/api/v3/orders"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/cancel": {
      "post": {
        "summary": "Cancel Order",
        "description": "Cancels an order identified by order_id (or request_id). Beyond the documented 400 validation cases, the endpoint is rate-limited at a default of 100 requests / 60 seconds (HTTP 429, status 'rate-limit-exceeded') and returns HTTP 500 (status 'application-crash') on an unexpected server error. The rate limit is admin-managed and may change per integration.",
        "operationId": "cancel-order",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "api_key",
                  "order_id",
                  "cancelation_reason",
                  "cancelation_notes"
                ],
                "properties": {
                  "api_key": {
                    "type": "string",
                    "description": "Integration api token. [Learn more](/reference/api-basics#api-key)",
                    "default": "y0Ur-AP1-k3y"
                  },
                  "order_id": {
                    "type": "string",
                    "description": "The unique identifier of the order being canceled. You may instead supply request_id; if both are provided, request_id takes precedence.",
                    "default": "654321"
                  },
                  "cancelation_reason": {
                    "type": "string",
                    "description": "Provide a valid cancelation_reason with your cancelation so PlanOmatic can provide meaningful reporting.",
                    "default": "duplicate_order"
                  },
                  "cancelation_notes": {
                    "type": "string",
                    "description": "Custom notes need to be provided with your use of the Order Cancelation API to provide our team with more context.  Notes must be between 1-255 characters",
                    "default": "We accidentally sent a duplicate order."
                  },
                  "request_id": {
                    "type": "string",
                    "description": "Alternative unique identifier of the order being canceled. Accepted in place of order_id; if both are supplied, request_id takes precedence."
                  }
                }
              },
              "examples": {
                "Request Example": {
                  "value": {
                    "api_key": "{api_key}",
                    "order_id": "654321",
                    "cancelation_reason": "duplicate_order",
                    "cancelation_notes": "We accidentally sent a duplicate order."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"code\": 200,\n  \"status\": \"action-successful\",\n  \"data\": {\n    \"order_id\": 2120062,\n    \"external_property_id\": \"{property_id}\",\n    \"external_order_id\": \"{external_order_id}\",\n    \"created\": \"2026-10-14T10:40:23.000Z\",\n    \"order_status\": \"canceled\",\n    \"event\": \"order.canceled\",\n    \"billing_entity\": {\n      \"slug\": \"investment_entity_1\",\n      \"name\": \"Investment Entity Number 1\"\n    },\n    \"metadata\": {\n      \"metadata_key1\": \"abc123\",\n      \"metadata_key2\": \"wxyz987\"\n    },\n    \"property\": {\n      \"location\": {\n        \"address\": \"123 Fake St, Unit A, Denver, CO, 80205\",\n        \"street\": \"123 Fake St\",\n        \"street2\": \"Unit A\",\n        \"city\": \"Denver\",\n        \"state\": \"CO\",\n        \"postal_code\": \"80205\",\n        \"country\": \"US\",\n        \"market\": \"Denver\",\n        \"latitude\": \"39.739236\",\n        \"longitude\": \"-104.990251\"\n      },\n      \"property_type\": \"single_family\",\n      \"bedrooms\": \"3\",\n      \"bathrooms\": \"2.5\",\n      \"price\": \"3000\",\n      \"square_footage\": \"1500\"\n    },\n    \"services\": [\n      {\n        \"slug\": \"photos\",\n        \"quantity\": 15,\n        \"name\": \"Photography\",\n        \"price\": \"149.0\"\n      },\n      {\n        \"slug\": \"zillow_3d_and_floor_plans\",\n        \"quantity\": 1,\n        \"name\": \"Zillow 3D\",\n        \"price\": \"169.0\"\n      }\n    ],\n    \"property_access\": {\n      \"vacant\": true,\n      \"method_of_access\": \"lockbox_code\",\n      \"access_code\": \"4321\",\n      \"lockbox_location\": \"Behind A/C Unit\",\n      \"preferred_date\": null,\n      \"onsite_contact_name\": \"Jane Doe\",\n      \"onsite_contact_phone\": \"+1 555-555-5555\"\n    },\n    \"order_notes\": \"Some special instructions\",\n    \"appointments\": [\n      {\n        \"appointment_id\": 3760017,\n        \"start_datetime\": \"2026-10-16T15:00:00.000+00:00\",\n        \"end_datetime\": \"2026-10-16T16:00:00.000+00:00\",\n        \"duration_m\": 60,\n        \"planotech_name\": \"Bobby\",\n        \"cancelation_reason\": null,\n        \"cancelation_notes\": null,\n        \"canceled\": true\n      }\n    ],\n    \"order_cancelation_reason\": \"Duplicate Order\",\n    \"order_cancelation_notes\": \"We accidentally sent a duplicate order.\",\n    \"unable_to_complete_appt\": false,\n    \"unable_to_complete_appt_reason\": null,\n    \"unable_to_complete_appt_notes\": null,\n    \"links\": {},\n    \"photos\": [],\n    \"legacy_order_id\": 2120062\n  },\n  \"message\": \"Order Canceled.\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "example": 200
                    },
                    "status": {
                      "type": "string",
                      "example": "action-successful"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "order_id": {
                          "type": "integer",
                          "example": 2120062,
                          "description": "PlanOmatic order id."
                        },
                        "external_property_id": {
                          "type": "string",
                          "example": "{property_id}",
                          "description": "Your property identifier, exactly as sent."
                        },
                        "external_order_id": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "example": "{external_order_id}",
                          "description": "Your order identifier, exactly as sent."
                        },
                        "created": {
                          "type": "string",
                          "example": "2026-10-14T10:40:23.000Z"
                        },
                        "order_status": {
                          "type": "string",
                          "example": "completed",
                          "description": "One of order_processing, scheduling, on_site, post_processing, completed, canceled. See /reference/event-triggers."
                        },
                        "event": {
                          "type": "string",
                          "example": "order.delivered",
                          "description": "The most recent event. See /reference/event-triggers."
                        },
                        "billing_entity": {
                          "type": "object",
                          "properties": {
                            "slug": {
                              "type": "string",
                              "example": "investment_entity_1"
                            },
                            "name": {
                              "type": "string",
                              "example": "Investment Entity Number 1"
                            }
                          }
                        },
                        "metadata": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "description": "The metadata sent with the order, or null when none was sent.",
                          "example": {
                            "metadata_key1": "abc123",
                            "metadata_key2": "wxyz987"
                          }
                        },
                        "property": {
                          "type": "object",
                          "properties": {
                            "location": {
                              "type": "object",
                              "properties": {
                                "address": {
                                  "type": "string",
                                  "example": "123 Fake St, Unit A, Denver, CO, 80205"
                                },
                                "street": {
                                  "type": "string",
                                  "example": "123 Fake St"
                                },
                                "street2": {
                                  "type": "string",
                                  "example": "Unit A"
                                },
                                "city": {
                                  "type": "string",
                                  "example": "Denver"
                                },
                                "state": {
                                  "type": "string",
                                  "example": "CO"
                                },
                                "postal_code": {
                                  "type": "string",
                                  "example": "80205"
                                },
                                "country": {
                                  "type": "string",
                                  "example": "US"
                                },
                                "market": {
                                  "type": "string",
                                  "example": "Denver"
                                },
                                "latitude": {
                                  "type": "string",
                                  "example": "39.739236"
                                },
                                "longitude": {
                                  "type": "string",
                                  "example": "-104.990251"
                                }
                              }
                            },
                            "property_type": {
                              "type": "string",
                              "example": "single_family"
                            },
                            "bedrooms": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "example": "3",
                              "description": "Returned as a string; may be \"0\", empty or null."
                            },
                            "bathrooms": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "example": "2.5",
                              "description": "Returned as a string; may be \"0.0\", empty or null."
                            },
                            "price": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "example": "3000",
                              "description": "Returned as a string; may be \"0\", empty or null."
                            },
                            "square_footage": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "example": "1500",
                              "description": "Returned as a string; may be \"0\", empty or null."
                            }
                          }
                        },
                        "services": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string",
                                "example": "photos"
                              },
                              "quantity": {
                                "type": "integer",
                                "example": 15
                              },
                              "name": {
                                "type": "string",
                                "example": "Photography"
                              },
                              "price": {
                                "type": [
                                  "string",
                                  "number",
                                  "null"
                                ],
                                "example": "149.0",
                                "description": "Line total in US dollars, after your account discount and before tax. A decimal string for a priced line (\"149.0\"), the number 0.0 for a line with no separate charge, null when no price is configured. Parse it as a number in all three cases. See /reference/services#prices-in-the-payload."
                              }
                            }
                          }
                        },
                        "property_access": {
                          "type": "object",
                          "properties": {
                            "vacant": {
                              "type": "boolean",
                              "example": true
                            },
                            "method_of_access": {
                              "type": "string",
                              "example": "lockbox_code",
                              "description": "The slug you sent for API orders; the display label (for example Lockbox, Rently) for orders placed in the Connect portal."
                            },
                            "access_code": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "example": "4321"
                            },
                            "lockbox_location": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "example": "Behind A/C Unit"
                            },
                            "preferred_date": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "example": "YYYY-MM-DD"
                            },
                            "onsite_contact_name": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "example": "Jane Doe"
                            },
                            "onsite_contact_phone": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "example": "+1 555-555-5555"
                            }
                          }
                        },
                        "order_notes": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "example": "Some special instructions"
                        },
                        "appointments": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "appointment_id": {
                                "type": "integer",
                                "example": 3760017
                              },
                              "start_datetime": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "example": "2026-10-16T15:00:00.000+00:00"
                              },
                              "end_datetime": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "example": "2026-10-16T16:00:00.000+00:00"
                              },
                              "duration_m": {
                                "type": [
                                  "integer",
                                  "null"
                                ],
                                "example": 60
                              },
                              "planotech_name": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "example": "Bobby"
                              },
                              "cancelation_reason": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "See /reference/v3-order-status-webhook#appointment-rescheduled."
                              },
                              "cancelation_notes": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "canceled": {
                                "type": [
                                  "boolean",
                                  "null"
                                ],
                                "description": "true when this appointment was canceled; false or null otherwise."
                              }
                            }
                          }
                        },
                        "order_cancelation_reason": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "See /reference/v3-order-status-webhook#order-cancelation-details."
                        },
                        "order_cancelation_notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "unable_to_complete_appt": {
                          "type": "boolean",
                          "example": false
                        },
                        "unable_to_complete_appt_reason": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Populated only when unable_to_complete_appt is true. See /reference/v3-order-status-webhook#unable-to-complete-appointment-details."
                        },
                        "unable_to_complete_appt_notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "links": {
                          "type": "object",
                          "description": "Only the keys that exist for the order are present. Empty until delivery; a delivered order carries tour_link and tour_mls_link, plus zillow_3d_link when a Zillow 3D Home Tour was ordered. The remaining keys are legacy products and rarely present. See /reference/v3-order-status-webhook#links.",
                          "properties": {
                            "tour_link": {
                              "type": "string",
                              "example": "https://tours.planomatic.com/865496"
                            },
                            "tour_mls_link": {
                              "type": "string",
                              "example": "https://tours.planomatic.com/mls865496"
                            },
                            "zillow_3d_link": {
                              "type": "string",
                              "example": "https://www.zillow.com/view-imx/XXXXXXXXXX"
                            },
                            "matterport_3d_link": {
                              "type": "string",
                              "example": "https://my.matterport.com/show/?m=XXXXXXXXXX"
                            },
                            "video_slideshow_link": {
                              "type": "string"
                            },
                            "video_walkthrough_link": {
                              "type": "string"
                            },
                            "home_measurements_link": {
                              "type": "string"
                            }
                          }
                        },
                        "photos": {
                          "type": "array",
                          "description": "Empty until order.delivered. See /reference/v3-order-status-webhook#photo-and-floor-plan-links.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sequence": {
                                "type": "integer",
                                "example": 1
                              },
                              "caption": {
                                "type": "string",
                                "example": "Front View"
                              },
                              "full_size_url": {
                                "type": "string",
                                "example": "https://assets.app.planomatic.com/connect/photos/{property}/{photo}/fullSize.jpg"
                              },
                              "full_size_watermarked_url": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "example": "https://assets.app.planomatic.com/connect/photos/{property}/{photo}/wm/fullSize.jpg",
                                "description": "null when your account has no watermark on file, and on older orders delivered before your watermark was set up."
                              },
                              "uploaded_at": {
                                "type": "string",
                                "example": "2026-10-16T16:23:11.000Z"
                              },
                              "modified_at": {
                                "type": "string",
                                "example": "2026-10-17T17:54:46.000Z"
                              }
                            }
                          }
                        },
                        "legacy_order_id": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "example": 2120062,
                          "description": "Same as order_id for orders placed since 2022."
                        }
                      }
                    },
                    "message": {
                      "type": "string",
                      "example": "Order Canceled."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Order not in a cancelable status": {
                    "value": "{\n    \"code\": 400,\n    \"status\": \"validation-error\",\n    \"errors\": [\n        {\n            \"attr\": \"order_id\",\n            \"message\": \"invalid\",\n            \"details\": \"Only orders in [new_request, ordered, scheduling] status(es) with no confirmed appointments can be canceled.\"\n        }\n    ]\n}"
                  },
                  "Order has confirmed appointments": {
                    "value": "{\n    \"code\": 400,\n    \"status\": \"validation-error\",\n    \"errors\": [\n        {\n            \"attr\": \"order_id\",\n            \"message\": \"invalid\",\n            \"details\": \"Provided order has confirmed appointments.\"\n        }\n    ]\n}"
                  },
                  "Missing required field": {
                    "value": "{\n    \"code\": 400,\n    \"status\": \"validation-error\",\n    \"errors\": [\n        {\n            \"attr\": \"cancelation_reason\",\n            \"message\": \"missing\"\n        }\n    ]\n}"
                  },
                  "Unrecognized order_id": {
                    "value": "{\n    \"code\": 400,\n    \"status\": \"validation-error\",\n    \"errors\": [\n        {\n            \"attr\": \"order_id\",\n            \"message\": \"unrecognized\"\n        }\n    ]\n}"
                  },
                  "Unauthorized order_id": {
                    "value": "{\n    \"code\": 400,\n    \"status\": \"validation-error\",\n    \"errors\": [\n        {\n            \"attr\": \"order_id\",\n            \"message\": \"unauthorized\"\n        }\n    ]\n}"
                  },
                  "Invalid cancelation_reason": {
                    "value": "{\n    \"code\": 400,\n    \"status\": \"validation-error\",\n    \"errors\": [\n        {\n            \"attr\": \"cancelation_reason\",\n            \"message\": \"invalid\",\n            \"details\": \"Valid Cancelation Reasons: [duplicate_order, client_requested_cancelation]\"\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "example": 400,
                      "default": 0
                    },
                    "status": {
                      "type": "string",
                      "example": "validation-error"
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "attr": {
                            "type": "string",
                            "example": "order_id"
                          },
                          "message": {
                            "type": "string",
                            "example": "invalid"
                          },
                          "details": {
                            "type": "string",
                            "example": "Only orders in [new_request, ordered, scheduling] status(es) with no confirmed appointments can be canceled."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```