Create Request Attachment
Create a request attachment.
post
Path parameters
requestIdstringRequired
Query parameters
languagestringOptional
Body
filestring · binaryOptional
Responses
201
Created
application/json
400
Bad Request
application/json
post
POST /public/v1/commerce/requests/{requestId}/attachments HTTP/1.1
Host: api.s1.today
Content-Type: multipart/form-data
Accept: */*
Content-Length: 67
{
"attachment": {
"Name": "text",
"Description": "text"
},
"file": "binary"
}
{
"id": "text",
"audit": {
"created": {
"at": "2025-09-26T19:55:07.188Z",
"by": {
"id": "text",
"name": "text",
"icon": "text",
"revision": 1
}
},
"updated": {
"at": "2025-09-26T19:55:07.188Z",
"by": {
"id": "text",
"name": "text",
"icon": "text",
"revision": 1
}
}
},
"$meta": {
"omitted": [
"text"
]
},
"name": "text",
"revision": 1,
"type": "text",
"description": "text",
"filename": "text",
"size": 1,
"contentType": "text",
"request": {
"id": "text",
"name": "text",
"revision": 1
}
}
Last updated
Was this helpful?