Allows you to update Attachment on Purchase Order by Filename

POST {{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;aeff9be0-54c2-45dd-8e3d-aa4f8af0fbd7&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Xero API Partner&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1602100086197)/&quot;,&quot;Attachments&quot;:[{&quot;AttachmentID&quot;:&quot;dce4eaa7-c8a9-4867-9434-95832b427d3b&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_2.png&quot;,&quot;MimeType&quot;:&quot;image/png&quot;,&quot;ContentLength&quot;:98715}]}