Vendors

Upload a vendor document file

POST
/organizations/{organizationId}/vendors/{vendorId}/documents/upload

Uploads a file and adds it as a document on a vendor.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
vendorId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/string/vendors/string/documents/upload"
{  "id": "string",  "organizationId": "string",  "vendorId": "string",  "documentType": "soc2",  "evidenceId": "string",  "externalUrl": "string",  "asset": {    "bucket": "string",    "key": "string",    "fileName": "string",    "contentType": "string",    "fileSize": 0  },  "validFrom": null,  "expiresAt": null,  "renewalReminderAt": null,  "dateCreated": null,  "dateUpdated": null,  "property1": null,  "property2": null}