Upload file
Upload file
| Header Parameters |
|---|
organization-id uuid — REQUIREDID of organization context this request belongs to. |
| Request Body |
|---|
categoryId uuidHas to set if upload a document for a category => [(productId != null && consumerId == null && folderId == null) || (consumerId != null && productId == null && folderId == null) || (productId == null && consumerId == null && folderId == null)]. |
consumerId uuidHas to set if upload a document for a consumer => [category-id != null && productId == null && folderId == null]. |
file binary — REQUIREDFile which should be upload. |
folderId uuidHas to set if upload a document into a folder => [category-id == null && productId == null && consumerId == null]. |
productId uuidHas to set if upload a document for a product => [category-id != null && consumerId == null && folderId == null]. |
| Responses | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
201File successfully updated
| |||||||||||||||
400Bad Request (e.g. element not found or resource conflict).
| |||||||||||||||
403Missing permission
| |||||||||||||||
500Internal server error (Internal service communication or process error).
|