---
title: "Create Order"
method: POST
path: "/api/v1/orders/"
tags: ["Orders"]
---

# Create Order

`POST /api/v1/orders/`

## Request

- Base URL: `https://api.compteam.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.compteam.io/api/v1/orders/`
- Auth: HTTP bearer

## Request body

- OrderCreate
  - `items` OrderItemInput[], required
    - `product_id` string, uuid, required
    - `variant_id` string, uuid, nullable
    - `quantity` integer
  - `pickup_location_id` string, uuid, required
  - `shipping_name` string, nullable
  - `shipping_address_line1` string, nullable
  - `shipping_address_line2` string, nullable
  - `shipping_city` string, nullable
  - `shipping_country` string, nullable
  - `shipping_postal_code` string, nullable
  - `payment_method` string
  - `for_kid_id` string, uuid, nullable
  - `discount_code` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/compteam/apis/c-team-api.md) · [All operations](https://skmtc.dev/compteam/apis/c-team-api/llms.txt) · [OpenAPI document](https://skmtc.dev/compteam/apis/c-team-api/revisions/4bd27c892655?raw)
