Skip to main content

Create a Direct Purchase Order

POST /api/v1/orders Creates an order directly without going through the cart flow. This endpoint validates the items, processes payment from the specified wallet, and returns the created order.

Authentication

Requires a Bearer token in the Authorization header.

Request Body

Example Request

Responses

201 — Order Created

422 — Validation / Business Rule Error

500 — Server Error