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

# POST /order

`POST /order`

## Query parameters

- `select` string

## Headers

- `Prefer` 'return=representation' | 'return=minimal' | 'return=none' | 'resolution=ignore-duplicates' | 'resolution=merge-duplicates'

## Request body

- Order
  - `id` string, uuid, required — Note: This is a Primary Key.<pk/>
  - `created_at` string, timestamp with time zone, required
  - `payment_status` 'no_payment_required' | 'paid' | 'unpaid', public.order_payment_status_enum
  - `status` 'succeeded' | 'pending' | 'failed', public.order_status_enum
  - `checkout_session_status` 'complete' | 'expired' | 'open', public.order_checkout_session_status
  - `refunded` boolean
  - `disputed` boolean
  - `user_id` string, uuid, required — Note: This is a Foreign Key to `profile.id`.<fk table='profile' column='id'/>
  - `line_items` unknown
  - `amount_total` integer
  - `stripe_checkout_session_id` string, text
  - `stripe_payment_intent_id` string, text
  - `stripe_charge_id` string, text
  - `event_id` string, uuid — Note: This is a Foreign Key to `event.id`.<fk table='event' column='id'/>
  - `event_name` string, text
  - `organization_id` string, uuid — Note: This is a Foreign Key to `organization.id`.<fk table='organization' column='id'/>
  - `stripe_account_id` string, text
  - `answers` unknown[]
    - unknown

## Response `201`

Created

---

[API](https://skmtc.net/revent-app/apis/standard-public-schema.md) · [All operations](https://skmtc.net/revent-app/apis/standard-public-schema/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/revent-app/standard-public-schema/versions/90ce877204f2/schema)
