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

# Purchase Order - Create

`POST /purchase_order/create`

/purchase_order/create

## Request body

- object
  - `number` number
  - `store_id` string
  - `distributor_id` string
  - `warehouse_id` string
  - `items` object[]
  - `subtotal` number
  - `tax` number
  - `tax_per` string
  - `total` number
  - `memo` string
  - `terms` string
  - `shipping` number
  - `method` string
  - `discount` number
  - `discount_per` number
  - `dropship_address` string
  - `status` string
  - `due_date` string, date
  - `dropshipped` string

## Response `200`

OK

## Other responses

- `400` — Malformed request. Check that you have the correct parameters and that they are formatted correctly.
- `401` — Unauthorized. Did you forget to include your API key?

## Changes

- **2024-04-22** `08cd9cfa14dd` — 1 breaking, 19 warning, 2 info
  - added required request body
  - deleted the `query` request parameter `discount`
  - deleted the `query` request parameter `discount_per`
  - deleted the `query` request parameter `distributor_id`
  - …18 more
- **2024-04-19** `46ceda528000` — 2 breaking, 25 info
  - removed the request body
  - removed the media type `application/json` for the response with the status `200`
  - api operation id `post_purchase_order_create` removed and replaced with ``
  - added the new optional `query` request parameter `discount`
  - …23 more

[Change history](https://skmtc.dev/skulabs/apis/skulabs-api/changes/purchase_order/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/08cd9cfa14dd/schema)
