---
title: "Create a channel order (synchronous)"
method: POST
path: "/api/v1/orders"
tags: ["orders"]
---

# Create a channel order (synchronous)

`POST /api/v1/orders`

Validates and synchronously materializes a channel order: checks the channel is active; optionally links an existing customer by customer_id (the order is left unidentified when omitted); validates every item SKU against an active product and every payment method against an active payment method; cross-checks the subtotal against the sum of item totals; then persists the order, its items, addresses, mirrored payments and bootstrap timeline event in a single transaction. A duplicate (same external_order_id + channel) is rejected with 409. Authenticated as a channel service account.

## Request body

- OrderCreate
  - `requested_strategy_code` object, nullable
  - `source_store` object, nullable
  - `shipping_method` object, nullable
  - `currency` 'BRL' | 'USD'
  - `customer_id` object, nullable
  - `shipping_address` OrderAddressCreate
  - `billing_address` OrderAddressCreate
  - `items` OrderItemCreate[], required
  - `payments` OrderPaymentInput[], required
  - `totals` OrderTotalsCreate, required
  - `metadata` object, nullable

## Response `201`

Order created.

- OrderCreateResponse

## Other responses

- `400` — Invalid payload: schema violation, missing required field, or empty items/payments.
- `401` — Authentication is missing, malformed, expired, or refers to a session that is no longer active.
- `403` — The caller is authenticated but lacks the required permission for this action.
- `404` — One of the referenced resources (Customer, Product, PaymentMethod) was not found in the caller account.
- `409` — An order with the same external_order_id already exists for the channel.
- `422` — Business rule violation.
- `500` — Unexpected server error. The response body never leaks internal details.

## Changes

- **2026-07-07** `84194c31ab85` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/kruzer-corp/apis/oms-api/changes/api/v1/orders/post.md)

---

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