Purchase Orders: Overview
Swagger Definition
The Swagger definition for this version of the Purchase Orders API can be found at: https://app.swaggerhub.com/apis/Triquestra/purchase_orders/1.0.1.
Overview
The Purchase Orders API enables the creation and retrieval of purchase orders. A purchase order is raised for a site that has a requirement for one or more products.
Using the Purchase Orders API, you can:
- Create a purchase order.
- Retrieve an existing purchase order.
A purchase order is composed of the following:
- Purchase Order: contains header information such as the destination site, estimated arrival date and total cost.
- Lines: each line contains information such as the product code, quantity requested and the purchase cost.
Examples
Create a purchase order:
POST /purchase orders
Retrieve an existing purchase order:
GET /purchase_orders /{purchase_orders_code}
Health check endpoint for this API:
GET /health
Security Risk Profile
Financial Data 1: some purchase costs are exposed.
Personal Data 0: no personal data is exposed.
Business Data 1: some purchasing data is exposed.