Skip to main content
POST
cURL
Adds a note to the purchase invoice. Send a multipart form with the text as the note field and, optionally, a file to attach. The new note comes back under note.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Path Parameters

purchase_invoice_id
string
required

The purchase invoice's id.

Body

multipart/form-data
note
string
required

The note text. HTML is accepted.

file
file

An optional file to attach to the note.

Response

201 - application/json

The new note, under note.

note
object