# Procurement Domain API

API Gateway routing contract for the Procurement domain. Routes requests to downstream purchase order and state cost services via VPC link. The full domain contracts including schemas, examples, and error definitions are in purchase-orders-openapi.yaml and state-costs-openapi.yaml.


Version: 0.0.1

## Security

### jwt-authorizer

Type: oauth2

## Download OpenAPI description

[Procurement Domain API](https://test.docs.reece.tech/_bundle/apis/procurement/openapi/@current/openapi.yaml)

## Other

### Retrieve a purchase order by its number

 - [GET /v1/{countryCode}/purchase-orders/{purchaseOrderNumber}](https://test.docs.reece.tech/apis/procurement/openapi/openapi-1/other/getpurchaseorder.md)

### Retrieve a single line of a purchase order

 - [GET /v1/{countryCode}/purchase-orders/{purchaseOrderNumber}/lines/{lineNumber}](https://test.docs.reece.tech/apis/procurement/openapi/openapi-1/other/getpurchaseorderline.md)

### Retrieve the state cost for a product in a given state

 - [GET /v1/{countryCode}/products/{productNumber}/state-costs/{stateCode}](https://test.docs.reece.tech/apis/procurement/openapi/openapi-1/other/getstatecost.md)

### Retrieve the state cost effective for a product in a state on a given date

 - [GET /v1/{countryCode}/products/{productNumber}/state-costs/{stateCode}/effective-cost](https://test.docs.reece.tech/apis/procurement/openapi/openapi-1/other/geteffectivestatecost.md)

