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 ParameterTypeDescription
FileUploadHttpFile Model
FileTypeinteger 1 for Civil Id
2 for Commercial License
3 for Articles of Association
4 for Signature Authorization
5 for Others
6 for Civil Id Back
7 for Instagram
16 for Civil Ids Of All Owners
17 for Civil Id Of Manager
20 for Commercial Register
21 for Bank Account Letter
25 for Website
26 for 3rd Parties
27 for Basic regulations list (For charities only)
28 for Board of Directors Agreement (For charities only)
ExpireDatestring, optional
SupplierCodeinteger

HttpFile

Input ParameterTypeDescription
FileNamestring, optional
MediaTypestring, optional
Bufferstring, optional

Response Model

Response FieldTypeDescription
IsSuccess boolean"true" or "false" indicating the status of your request.
Message stringThe message response associated with the request done.

Sample Message

The request below is an example of the form-data object.

1372

❗️

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