---
title: "Create Order"
method: POST
path: "/v1/order"
tags: ["v1"]
---

# Create Order

`POST /v1/order`

Generate an order to fill/refill prescriptions and order Over-the-Counter (OTC) products, allowing multiple patient's prescriptions to be filled as part of the same order<br/><br/>The prescriptions and products requested can be shipped to your patient with various shipping methods.<br/><br/>When making an order, the patients will be referenced with a `patient_token` being passed into the request body, inside the items array. If you do not have a `patient_token` for your patients, they can be created using the Patient Create endpoint.<br/><br/>On a successful submission of the order, an order token will be provided that is used to reference the Order (similar to `prescription_token` and `patient_token`).<br/><br/>This attribute is returned under the field `order_id`.<br/><br/>Many fields for the Order may or may not be required depending on what values are passed in. Please reference the field information carefully.<br/><br/>The `metadata` field acts as a link between the Order in the Truepill and the customer systems. It will be provided in all subsequent Order notifications as the order is processed.

## Request body

- IcdCodes

## Response `202`

Accepted

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

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