---
title: "Cancel print order"
method: POST
path: "/v1/orders/{order_id}/cancel"
tags: ["prints"]
---

# Cancel print order

`POST /v1/orders/{order_id}/cancel`

## Request

- Base URL: `https://api.noerrands.com/c/prints`
- URL: `https://api.noerrands.com/c/prints/v1/orders/{order_id}/cancel`
- Auth: HTTP bearer

Ask the print lab to cancel an order that has not started printing, and refund its credits in full if the lab agrees; CONSEQUENTIAL and irreversible. Free. Sensitive write: it requires the human's approval to cancel that order. Once printing has started the lab refuses and nothing changes.

## Path parameters

- `order_id` string, required

## Request body

- object

## Response `200`

Success.

- object
  - `order_id` string, required
  - `status` 'cancelled', required
  - `credits_refunded_cents` integer, required
  - `balance_cents` integer, required

## Other responses

- `400`: invalid_request
- `401`: unauthorized. Carries WWW-Authenticate: Bearer resource_metadata="..."
- `403`: forbidden_scope: a write tool called with a read-only key.
- `404`: not_found
- `429`: rate_limited
- `502`: provider_error

---

[API](https://skmtc.dev/noerrands/apis/no-errands-prints-api.md) · [All operations](https://skmtc.dev/noerrands/apis/no-errands-prints-api/llms.txt) · [OpenAPI document](https://skmtc.dev/noerrands/apis/no-errands-prints-api/revisions/f3ad0da7ed08?raw)
