---
title: "Edit and cancel orders"
description: "What you can change on an order and when, how to cancel, return or archive it, where its history lives, and how to delete it."
canonical_url: "https://content.stocka.cloud/en/orders/edit-and-cancel"
---
# Edit and cancel orders

> What you can change on an order and when, how to cancel, return or archive it, where its history lives, and how to delete it.

Orders change: the customer wants another size, the address is wrong, or the order falls through. This page explains what you can edit at each stage, how to cancel or return an order, and when deleting is allowed.

<note>

Editing, canceling, archiving and deleting orders are available to **Owners** and **Managers**.

</note>

## What can be edited when

<table>
<thead>
  <tr>
    <th>
      Order status
    </th>
    
    <th>
      Customer, products, delivery
    </th>
    
    <th>
      Status, comments, payments
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Draft, New, Accepted, On Hold, In Process, Ready to Ship
    </td>
    
    <td>
      ✅ Editable (while nothing has shipped)
    </td>
    
    <td>
      ✅ (a draft has no payments)
    </td>
  </tr>
  
  <tr>
    <td>
      Partially Shipped, Shipped, At Pickup Point, Partially Received, Received
    </td>
    
    <td>
      🔒 Locked
    </td>
    
    <td>
      ✅
    </td>
  </tr>
  
  <tr>
    <td>
      Canceled, Returned, Archived
    </td>
    
    <td>
      🔒 Locked
    </td>
    
    <td>
      Status: only to Archived (none for Archived)
    </td>
  </tr>
</tbody>
</table>

In the app's words: *"Items, customer and delivery can be changed until the order is handed over for shipping. You can still change its status and add comments."*

An order that has shipped stays locked even if it is later put **On Hold** — its goods have already left the warehouse.

## Edit an order

<steps level="3">

### Open the editor

On the order page click **⋯ → Edit order**. If the item reads **Edit order (locked once shipped)** and is greyed out, the contents can no longer be changed.

To change only the delivery, click **Add delivery** / **Edit delivery** in the **Customer** card — the editor opens straight on the **Shipping** step.

### Make your changes

The editor is the same wizard as for a new order, with the **Client**, **Products** and **Shipping** steps (there is no Payment step — manage payments from the order page). You can also change or remove the **Promo code** in the summary.

### Save

Click **Save changes** in the **Order summary**. You return to the order page and see **Order updated**.

</steps>

Only the parts you actually changed are saved. For example, if you only fix the delivery address, the products and their stock are not touched.

### Changing the customer

Pick another customer or create a new one in the **Client** step. As with new orders, STOCKA matches customers by country code and phone. See [Customers](https://content.stocka.cloud/en/customers).

### Changing products

- **Lines already on the order keep the price they were sold at**, even if the catalog price has changed since. Newly added lines are priced at the variant's current sell price.
- A variant already on the order may stay even if it has since been made inactive. New lines must be active and have a sell price.
- If a promo code is applied, it is recalculated for the new contents.
- **Stock is swapped**: the old reservation is given back and the new contents are reserved (including materials). If there isn't enough stock for the new contents, the save is refused with **Not enough stock** and the old reservation stays exactly as it was.
- The parcels are planned again for the warehouse.

<warning>

Once the warehouse has started on the order — a parcel is **being picked or is packed** — its products can't be changed: "The warehouse is already picking this order — ask them to put the parcels back in the queue first". Ask the picker to put the parcel back, then edit. The customer and delivery can still be changed. See [Picking](https://content.stocka.cloud/en/warehouse/picking).

</warning>

### Payments after an edit

Payments are kept separately from the contents. If a paid order grows, it simply shows a balance due; if it shrinks, it shows an overpayment. Record the difference on the order page — see [Payments](https://content.stocka.cloud/en/finances/payments).

### Changing the status

Status isn't changed in the editor. Use **Change status** on the order page — see [Order lifecycle](https://content.stocka.cloud/en/orders/order-lifecycle).

## Cancel an order

<steps level="3">

### Open the order

Go to **Orders** and open the order.

### Choose Canceled

Click **Change status → Canceled**.

### Confirm

Confirm **Mark order as Canceled?** — this can't be undone.

</steps>

You can cancel from **Draft**, **New**, **Accepted**, **On Hold**, **In Process**, **Ready to Ship** and **Partially Shipped**. After shipping, use **Returned** instead.

When an order is canceled, STOCKA automatically:

- **Releases the reserved stock** so the units are available again, and puts the consumed **materials back** on hand. (If it was Partially Shipped, the shipped units are taken back into stock.)
- **Cancels its parcels.** Anything already picked or packed appears on the warehouse's *to shelve* list so someone puts it back.
- **Cancels unsent deliveries.**
- **Gives the promo code's use back.**
- **Flags paid payments as Refund owed.** No money is sent back automatically — return it to the customer and confirm the refund in [Payments](https://content.stocka.cloud/en/finances/payments).
- **Notifies your team** (if they have *Status changed* notifications on).

<caution>

A canceled order can't be reopened — the only next step is **Archived**. If the customer changes their mind, create a new order.

</caution>

## Returns

When a shipped order comes back, use **Change status → Returned** and confirm. This is possible from **Shipped**, **At Pickup Point**, **Partially Received** and **Received**.

- The shipped units **come back into stock**, in the warehouses they left. Materials used to make the goods are not returned.
- Open parcels are canceled.
- Paid payments are flagged as **Refund owed** — see [Payments](https://content.stocka.cloud/en/finances/payments).

<note>

Returns currently apply to **the whole order**. There's no separate returns workflow yet for returning only some items or restocking them selectively. If only part of an order comes back, adjust the stock of the affected variants by hand — see [Stock levels](https://content.stocka.cloud/en/warehouse/stock-levels).

</note>

## Archive an order

Archiving files an order away when you are done with it. **Received**, **Canceled** and **Returned** orders can be moved to **Archived** with **Change status** (you'll be asked to confirm). Archived is final — no further changes of status.

Archiving is also the way to close an order that has an issued invoice, since such orders can't be deleted.

## Order history

Every change to an order is recorded:

- **Activity** card on the order page — who did what and when: creation, edits (and which parts changed), status changes, payments, comments, picking steps. Click **View all (N)** for the full list. Visible to Owner, Accountant, Manager and Delivery roles.
- **Version** — the small *v2*, *v3*… next to the order date goes up with each change, so you can tell at a glance whether an order was modified.
- **Comments** — conversation with your team on the order. Comments aren't part of the order's version.

## Delete an order

Deleting removes an order completely. Usually it's better to **cancel** (and archive) instead, so the history stays — delete only orders created by mistake.

<steps level="3">

### Open the orders list

Deleting is done from **Orders**, not from the order page.

### Choose the orders

Use **⋮ → Delete order** on one row, or tick several rows and click **Delete**. The number on the button counts only the selected orders that can be deleted.

### Confirm

Confirm the deletion. This can't be undone.

</steps>

What happens:

- **Reserved stock is released** and the consumed materials go back on hand.
- The order's **parcels are removed** from the warehouse.
- The customer's order count goes down.
- The deletion is recorded in the company's audit log.
- The order number is **not** reused.

<warning>

**Orders with an issued invoice can't be deleted** — the option is hidden for them, and they aren't counted on the bulk **Delete** button. An issued invoice is a document your customer may already have: cancel the order and archive it instead. See [Invoices](https://content.stocka.cloud/en/finances/invoices).

Deleting several orders is **all or nothing**: if any of them turns out not to be deletable (for example, someone issued an invoice for it a moment ago), **none** are deleted and you see *This order has an issued invoice and can't be deleted — cancel and archive it instead*. Reload the list and try again without that order.

</warning>

<caution>

Deleting a **shipped** order doesn't bring its units back into stock. If goods came back, mark the order **Returned** first. If the order has payments, cancel it rather than deleting it, so refunds stay tracked.

</caution>

## Common questions

<accordion>
<accordion-item label="'This order can no longer be edited' when I open the editor.">

The order has been handed over for shipping (or canceled/returned), or someone changed its status while you were editing. You can still change its status and add comments.

</accordion-item>

<accordion-item label="'The order was changed by someone else — reload and try again'.">

A colleague or the warehouse saved the order a moment before you. Reload the order and make your change again.

</accordion-item>

<accordion-item label="Can I undo a cancellation?">

No. Canceled is final apart from archiving. Create a new order for the customer — you can start it from their profile with **Create order**.

</accordion-item>
</accordion>


## Sitemap

See the full [sitemap](https://content.stocka.cloud/sitemap.md) for all pages.
