API Documentation
Vendor Management API
- GET
/api/vendors/
: List all vendors. - POST
/api/vendors/
: Create a new vendor. - GET
/api/vendors/{vendor_id}/
: Retrieve details of a specific vendor. - PUT
/api/vendors/{vendor_id}/
: Update details of a specific vendor. - DELETE
/api/vendors/{vendor_id}/
: Delete a specific vendor. - GET
/api/vendors/{vendor_id}/performance/
: Retrieve performance metrics of a specific vendor.
- GET
/api/purchase_orders/
: List all purchase orders. - POST
/api/purchase_orders/
: Create a new purchase order. - GET
/api/purchase_orders/{po_id}/
: Retrieve details of a specific purchase order. - PUT
/api/purchase_orders/{po_id}/
: Update details of a specific purchase order. - DELETE
/api/purchase_orders/{po_id}/
: Delete a specific purchase order. - POST
/api/purchase_orders/{po_id}/acknowledge/
: Acknowledge a purchase order.
GET /api/vendors/
POST /api/vendors/
GET /api/vendors/{vendor_id}/
PUT /api/vendors/{vendor_id}/
DELETE /api/vendors/{vendor_id}/
GET /api/vendors/{vendor_id}/performance/
GET /api/purchase_orders/
POST /api/purchase_orders/
GET /api/purchase_orders/{po_id}/
PUT /api/purchase_orders/{po_id}/
DELETE /api/purchase_orders/{po_id}/
POST /api/purchase_orders/{po_id}/acknowledge/
- GET and POST requests for all endpoints are allowed for any user.