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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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 so your system knows when an order can no longer be canceled.

How to Test

Please reach out to [email protected] to get access to our staging server.

POST https://api.planomatic.com/api/v3/orders/cancel

Valid Cancelation Reasons

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

cancelation_reasonDescription
duplicate_orderThe order being canceled is a duplicate of an order placed perviously.
client_requested_cancelationThe client is requesting a cancelation. Please provide additional notes to help us understand your needs.

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.

Body Params
string
required
Defaults to y0Ur-AP1-k3y

Integration api token. Learn more

string
required
Defaults to 654321

The unique identifier of the order being canceled. You may instead supply request_id; if both are provided, request_id takes precedence.

string
required
Defaults to duplicate_order

Provide a valid cancelation_reason with your cancelation so PlanOmatic can provide meaningful reporting.

string
required
Defaults to We accidentally sent a duplicate order.

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

string

Alternative unique identifier of the order being canceled. Accepted in place of order_id; if both are supplied, request_id takes precedence.

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json