latestOpenAPI 3.0.3MIT2026-08-10471155.4 KB

3b3179c504b0

Orders

Create a new order

Creates a new record in the sandbox. Data is session-scoped and auto-expires in 30 minutes.

post/api/v1/orders

Request body

user_idstring uuid

ID of the user placing the order

product_idstring uuid

ID of the product being ordered

quantityinteger

Quantity ordered

status'pending' | 'processing' | 'completed' | 'cancelled'

Order status

notesstring

Optional order notes

Response

Default Response

successboolean

Example response

{
  "success": true
}