Issue Creating Purchase Orders Using API - Buyer and Vendor Fields

Discussion created by on Jun 21, 2016
Latest reply on Jun 24, 2016 by
Is any one having issues with creating Purchase Orders? I tried with XML and JSON, but get the same result using the API documentation as a template:

$ curl --digest -X POST --data @purchase.xml -u <user>:<pass>  -H "Accept: application/xml" -H "Content-Type:text/xml" 

"Content-Type:text/xml"<?xml version="1.0" encoding="UTF-8"?>
  <error>Buyer can't be blank</error>
  <error>Vendor can't be blank</error>

<purchase_order> <name>test po</name>

I also tried a copy/paste of the example and still get the same result.