---
title: "UploadSupplierDocument"
method: PUT
path: "/v2/UploadSupplierDocument"
tags: ["Supplier"]
---

# UploadSupplierDocument

`PUT /v2/UploadSupplierDocument`

## Request

- Base URL: `https://apitest.myfatoorah.com`
- URL: `https://apitest.myfatoorah.com/v2/UploadSupplierDocument`
- Auth: HTTP bearer

Uploads supplier documents. Files must be maximum 5 MB and in the following formats: .jpg, .jpeg, .png, .bmp, .gif, .xls, .xlsx, .pdf, .doc, .docx

## Request body

- object
  - `FileUpload` object, required: The file to upload
    - `FileName` string, required: The file name
    - `MediaType` string, required: The media type
    - `Buffer` string, required: The file buffer encoded in base64
  - `FileType` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 16 | 17 | 20 | 21 | 25 | 26 | 27 | 28 | 30, required: 1: Civil Id, 2: Commercial License, 3: Articles of Association, 4: Signature Authorization, 5: Others, 6: Civil Id Back, 7: Instagram, 16: Civil Ids Of All Owners, 17: Civil Id Of Manager, 20: Commercial Register, 21: Bank Account Letter, 25: Website, 26: 3rd Parties, 27: Basic regulations list (For charities only), 28: Board of Directors Agreement (For charities only), 30: National address
  - `ExpireDate` string, date-time: The expiration date for the document
  - `SupplierCode` integer, required: The supplier code

## Response `200`

Successful response

- object
  - `IsSuccess` boolean: the status of your request
  - `Message` string: The message response associated with the request done. Returns the URL of the uploaded document

---

[API](https://skmtc.dev/myfatoorah/apis/myfatoorah-api-v2.md) - [All operations](https://skmtc.dev/myfatoorah/apis/myfatoorah-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/myfatoorah/apis/myfatoorah-api-v2/revisions/4c0c2a3af558?raw)
