How to create purchase order from API

How to create purchase order from API

I've asked the following question on SO with no response yet - just wondering if this is the right place to ask?