v1

latestOpenAPI 3.0.02026-07-1319142308.8 KB
order

patch/order

Query parameters

idstring uuid
created_atstring timestamp with time zone
payment_statusstring public.order_payment_status_enum
statusstring public.order_status_enum
checkout_session_statusstring public.order_checkout_session_status
refundedstring boolean
disputedstring boolean
user_idstring uuid
line_itemsstring jsonb
amount_totalstring bigint
stripe_checkout_session_idstring text
stripe_payment_intent_idstring text
stripe_charge_idstring text
event_idstring uuid
event_namestring text
organization_idstring uuid
stripe_account_idstring text
answersstring jsonb[]

Headers

Prefer'return=representation' | 'return=minimal' | 'return=none'

Preference

Request body

idstring uuid required

Note: This is a Primary Key.<pk/>

created_atstring 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
refundedboolean
disputedboolean
user_idstring uuid required

Note: This is a Foreign Key to profile.id.<fk table='profile' column='id'/>

{"stackTrail":"components:schemas:order:properties:line_items","oasType":"schema","type":"unknown"}
amount_totalinteger
stripe_checkout_session_idstring text
stripe_payment_intent_idstring text
stripe_charge_idstring text
event_idstring uuid

Note: This is a Foreign Key to event.id.<fk table='event' column='id'/>

event_namestring text
organization_idstring uuid

Note: This is a Foreign Key to organization.id.<fk table='organization' column='id'/>

stripe_account_idstring text

Response

No Content