---
title: "Create Public Order"
method: POST
path: "/v2/public/orders"
tags: ["orders"]
---

# Create Public Order

`POST /v2/public/orders`

## Query parameters

- `workspace_id` string, nullable

## Headers

- `X-Workspace-Code` string

## Request body

- ObjectRecordCreateRequest
  - `view_id` string, nullable
  - `form_view_id` string, nullable
  - `cost_line_items` unknown[], nullable
    - unknown
  - `line_items` unknown[], nullable
    - unknown
  - `properties` object

## Response `200`

Successful Response

- CreatePublicOrderApiV2PublicOrdersPost200Envelope
  - `success` true, required
  - `data` object, required
  - `meta` EnvelopeMeta, required
    - `ctx_id` string, required
    - `pagination` PaginationMeta
      - `page` integer, required
      - `page_size` integer, required
      - `total` integer, required
      - `next_cursor` string, nullable
    - `toast` ToastMessage
      - `variant` 'success' | 'error' | 'info' | 'warning', required
      - `code` string, required
      - `message` string, required
      - `i18n` ToastMessageI18n, required
        - `en` string, required
        - `ja` string, required

## Other responses

- `401` — Error response
- `422` — Error response

## Changes

- **2026-07-06** `6ce94a6be72c` — 8 info
  - added the new optional request property `cost_line_items`
  - added the new optional request property `line_items`
  - added the optional property `meta/pagination/next_cursor` to the response with the `200` status
  - added the optional property `meta/pagination/next_cursor` to the response with the `401` status
  - …4 more
- **2026-06-10** `9099b22c3aae` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sankahq/apis/sanka-public-api/changes/v2/public/orders/post.md)

---

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