UploadSupplierDocument
Endpoint
Overview
The "UploadSupplierDocument" endpoint is a PUT request. It is used to upload supplier documents. Detailed functionality of how to use this endpoint is explained in the Multiple Suppliers section.
The endpoint on Swagger is Supplier_UpdateSupplierDoc.
Now, we are going to declare the endpoint and its models along with each accepted parameter and possible value.
Request Header
Add "Authorization": "Bearer {Token}" to request header. Token of demo configuration can be found here.
Request Model
The request is a PUT request with the following parameters:
Input Parameter | Type | Description |
---|---|---|
FileUpload | HttpFile Model | |
FileType | integer | 1 for Commercial License |
ExpireDate | string, optional | |
SupplierCode | integer |
HttpFile
Input Parameter | Type | Description |
---|---|---|
FileName | string, optional | |
MediaType | string, optional | |
Buffer | string, optional |
Response Model
Response Field | Type | Description |
---|---|---|
IsSuccess | boolean | "true" or "false" indicating the status of your request. |
Message | string | The message response associated with the request done. |
Sample Message
The request below is an example of the form-data object.


Accepted Files
Kindly make sure to upload the file according to the following conditions:
- Maximum File Size: 5 MB
- File Type is in the following formate: .jpg|.jpeg|.png|.bmp|.gif|.xls|.xlsx|.pdf|.doc|.docx
Updated 5 months ago