---
title: "Changes to v2-uploadOrderDocument - Upload a document for an order"
method: POST
path: "/v2/orders/{order_id}/documents"
---

# Changes to v2-uploadOrderDocument - Upload a document for an order

`POST /v2/orders/{order_id}/documents`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 5 revisions.

- **2026-10-14** `d12b10bceb6a`: 2 breaking, 3 info

## Changes

- **2026-10-14** `d12b10bceb6a`: 2 breaking, 3 info
  - request property `metadata/entity/type` was restricted to a list of enum values
  - request property `metadata/type` was restricted to a list of enum values
  - added the new `CUSTOMER_INVOICE` enum value to the request property `metadata/type`
  - added the new `RETURN` enum value to the request property `metadata/entity/type`
  - added the new `RETURN_LABEL` enum value to the request property `metadata/type`

---

[Operation](https://skmtc.dev/mirakl/apis/mirakl-connect-apis/docs/v2/orders/:order_id/documents/post.md) - [API](https://skmtc.dev/mirakl/apis/mirakl-connect-apis.md) - [Page](https://skmtc.dev/mirakl/apis/mirakl-connect-apis/changes/v2/orders/:order_id/documents/post)
