Get purchase order by ID
GET/api/v2/purchase-orders/:id
Returns a single purchase order by its primary key, including line items and payments. Returns 404 when the requested ID belongs to a sales (issued) document.
Request
Responses
- 200
- 401
- 403
- 404
- 500
Purchase order found
Missing or invalid JWT (Bearer token).
Authenticated user is missing the VER_PEDIDOS permission
Purchase order not found
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.