riverty logo

Docs

Get Started Login

Upload a Files

Return details for upload file
The maximum size is 20MB. Allowed extensions are: .pdf, .jpg, .png, .gif, .jpeg, .docx, .doc, .bmp

Path

POST /attachments

Responses

200 Successful Request

Request Example

    
        {
 "countryCode": "market country code for the shop",
 "shopId": "unique identifier for the shop"
}
    

Response Example

    
        {
 "id": "d5ce6142-1325-4237-9b1f-ee0fac3bdfbb",
 "fileName": "00b4522c-2092-4620-a463-134a1328d16c",
 "originalFileName": "tv_screen_broken.jpg",
 "createdAt": "2024-05-08T13:31:04.7334549+00:00",
 "size": 12432,
 "mimeType": "image/jpg",
 "url": "/Attachments/d5ce6142-1325-4237-9b1f-ee0fac3bdfbb"
}