# orders

> Chat, assistant, WhatsApp-cart and store orders with totals computed server-side, COD confirmation and prepaid conversion.

Chat, assistant, WhatsApp-cart and store orders with totals computed server-side, COD confirmation and prepaid conversion.

| Method | Path | Operation | Scope | Test mode |
|---|---|---|---|---|
| GET | `/v1/orders` | `orders_list`: Orders (manual, assistant, WhatsApp cart, Shopify, WooCommerce) | `orders:read` | - |
| POST | `/v1/orders` | `orders_create`: Create a draft or confirmed order | `orders:write` | - |
| GET | `/v1/orders/{order_id}` | `orders_get`: Get an order (status, items, evidence level) | `orders:read` | - |
| PATCH | `/v1/orders/{order_id}` | `orders_update`: Edit a draft order | `orders:write` | - |
| POST | `/v1/orders/{order_id}/cancel` | `orders_cancel`: Cancel an order | `orders:write` | - |
| GET | `/v1/orders/{order_id}/cod-confirmation` | `orders_cod_get`: The COD confirmation state of an order | `orders:read` | - |
| POST | `/v1/orders/{order_id}/cod-confirmation` | `orders_cod_request`: Ask the customer to confirm a COD order | `messages:send` | - |
| POST | `/v1/orders/{order_id}/cod-confirmation/respond` | `orders_cod_respond`: Record the customer's answer | `orders:write` | - |
| POST | `/v1/orders/{order_id}/notify` | `orders_notify`: Send an order status template to the customer | `messages:send` | - |
| POST | `/v1/orders/{order_id}/payment-link` | `orders_create_payment`: Create a payment link or UPI QR for the order amount | `payments:write` | - |
| POST | `/v1/orders/{order_id}/status` | `orders_update_status`: Update order status | `orders:write` | - |
| GET | `/v1/orders/{order_id}/timeline` | `orders_timeline`: Status and payment evidence timeline | `orders:read` | - |
| GET | `/v1/orders/cod-stats` | `orders_cod_stats`: COD confirmation and prepaid conversion rate | `orders:read` | - |

Request and response schemas: the interactive reference at `https://api.wapitick.com/docs`, or `docs/api/openapi.json`.
