---
title: "Purchase Order - New Create"
method: POST
path: "/purchase_order/new_create"
tags: ["purchase_order"]
---

# Purchase Order - New Create

`POST /purchase_order/new_create`

Create a purchase order using the latest creation endpoint with enhanced validation.

## Request body

- object
  - `data` object, required — Purchase order data object

## Response `200`

Purchase order created

- object
  - `success` boolean, required — Whether the operation succeeded
  - `_id` string — ID of the created purchase order
  - `number` union — PO number (may be auto-generated)
    - string
    - number
  - `errors` string[] — Array of validation error messages
  - `add_results` unknown[] — Results from auto-adding serial numbers (pallet processing)
    - unknown
  - `skulabs_warning` object — Non-fatal warning from background operations

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden. Insufficient permissions.
- `429` — Too many requests. Rate limit exceeded.
- `500` — Internal server error.

## Changes

- **2026-03-02** `fa53dd949b8e` — 1 breaking, 7 info
  - the request property `data` became required
  - api operation id `post_purchase_order_new_create` was added
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `400`
  - …4 more
- **2024-04-22** `08cd9cfa14dd` — 1 breaking, 1 warning, 2 info
  - added required request body
  - deleted the `query` request parameter `data`
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
- **2024-04-19** `46ceda528000` — 2 breaking, 7 info
  - removed the request body
  - removed the media type `application/json` for the response with the status `200`
  - api operation id `post_purchase_order_new_create` removed and replaced with ``
  - added the new optional `query` request parameter `data`
  - …5 more

[Change history](https://skmtc.dev/skulabs/apis/skulabs-api/changes/purchase_order/new_create/post.md)

---

[API](https://skmtc.dev/skulabs/apis/skulabs-api.md) · [All operations](https://skmtc.dev/skulabs/apis/skulabs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/skulabs/skulabs-api/revisions/4b5ec0ed78a6/schema)
