Skip to main content
Vendor Document Upload API

Authentication

All requests require an API key in the request headers. Headers:

Request

Content-Type: multipart/form-data

Path Parameters

Form Fields

Code Examples

Success Response

HTTP Status: 200 OK Response Fields:

Response Example

Error Responses

Missing File

HTTP Status: 400 Bad Request

Vendor Not Found

HTTP Status: 404 Not Found

Access Denied

HTTP Status: 403 Forbidden
Returned when the caller is neither an admin / bookkeeper nor the vendor’s owner.

Authentication Errors

HTTP Status: 401 Unauthorized

Permission Errors

HTTP Status: 403 Forbidden

Internal Error

HTTP Status: 500 Internal Server Error

Best Practices

  • Repeat the files field name to upload multiple documents in a single call — they are saved as separate vendor documents
  • Use the Vendor Documents API to list the documents already attached to a vendor before deciding what to upload
  • Each file is capped at 50 MB; split larger files before uploading