Allows you to create Attachment on Purchase Order

PUT {{baseUrl}}/PurchaseOrders/:PurchaseOrderID/Attachments/:FileName

Request Body

["<", "b", "y", "t", "e", ">"]

HEADERS

KeyDatatypeRequiredDescription
xero-tenant-idstring(Required) Xero identifier for Tenant
Content-Typestring

RESPONSES

status: OK

{&quot;Id&quot;:&quot;c728a4a4-179e-4bbd-a2d5-63e7f9ceba92&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Xero API Partner&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1602099934723)/&quot;,&quot;Attachments&quot;:[{&quot;AttachmentID&quot;:&quot;e58bd37b-e47f-451a-a42c-f946ef229c3e&quot;,&quot;FileName&quot;:&quot;xero-dev.png&quot;,&quot;Url&quot;:&quot;https://api.xero.com/api.xro/2.0/PurchaseOrders/93369c9b-c481-4e21-aaab-bb19e9a26efe/Attachments/2D.png&quot;,&quot;MimeType&quot;:&quot;image/png&quot;,&quot;ContentLength&quot;:82529}]}