List purchase orders
Returns a paginated list of purchase orders for the current organization. Supports filtering by status and supplier.
Returns a paginated list of purchase orders for the current organization. Supports filtering by status and supplier.
__Secure-guidelab-prod.session_token<token>
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Query Parameters
page?integer
Range
0 < valueDefault
1limit?integer
Range
0 < value <= 100Default
20status?string
Value in
- "draft"
- "sent"
- "partially_received"
- "received"
- "cancelled"
supplierId?string
Response Body
application/json
curl -X GET "https://example.com/inventory/purchase-orders"{ "data": [ { "id": "string", "poNumber": "string", "status": "string", "supplierId": "string", "subtotal": "string", "taxAmount": "string", "totalAmount": "string", "currency": "string", "orderDate": "string", "expectedDeliveryDate": "string", "receivedDate": "string", "notes": "string", "createdAt": "string", "supplierName": "string" } ], "pagination": { "page": 0, "limit": 0, "total": 0, "totalPages": 0 }}Empty
Empty
List inventory items GET
Returns a paginated list of inventory items for the current organization. Supports filtering by category, supplier, low stock, expiring soon, and search by name or SKU.
List stock adjustments GET
Returns a paginated list of stock adjustment history for the current organization. Supports filtering by item, reason, and date range.