API Documentation

Integrate THE OHRES EDI into your applications

Authentication

Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY
GET/api/v1/partners

List all trading partners

curl -H "Authorization: Bearer YOUR_KEY" https://edi.oh-res.com.ng/api/v1/partners
GET/api/v1/partners/:id

Get partner details

curl -H "Authorization: Bearer YOUR_KEY" https://edi.oh-res.com.ng/api/v1/partners/walmart
POST/api/v1/edi/validate

Validate EDI document

curl -X POST -H "Authorization: Bearer YOUR_KEY" -d @document.edi https://edi.oh-res.com.ng/api/v1/edi/validate
POST/api/v1/edi/translate

Convert document to EDI

curl -X POST -H "Authorization: Bearer YOUR_KEY" -F "file=@po.pdf" https://edi.oh-res.com.ng/api/v1/edi/translate
POST/api/v1/as2/send

Send via AS2

curl -X POST -H "Authorization: Bearer YOUR_KEY" -d @edi.txt https://edi.oh-res.com.ng/api/v1/as2/send
GET/api/v1/transactions

Transaction history

curl -H "Authorization: Bearer YOUR_KEY" https://edi.oh-res.com.ng/api/v1/transactions
GET/api/v1/health

System health check

curl https://edi.oh-res.com.ng/api/v1/health

Get Your API Key

Upgrade to Pro to get API access.

View Plans