Create Agreement Attachment
post
Path parameters
agreementIdstringRequired
Body
filestring · binaryOptional
Responses
201
Created
application/json
400
Bad Request
application/json
post
POST /public/v1/commerce/agreements/{agreementId}/attachments HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: multipart/form-data
Accept: */*
Content-Length: 118
{
"attachment": {
"Name": "text",
"Description": "text",
"OrderId": "text",
"Type": "File",
"LicenseKey": "text"
},
"file": "binary"
}
{
"id": "text",
"audit": {
"created": {
"at": "2025-08-06T09:32:33.665Z",
"by": "[Circular Reference]"
},
"updated": {
"at": "2025-08-06T09:32:33.665Z",
"by": "[Circular Reference]"
}
},
"$meta": {
"omitted": [
"text"
]
},
"name": "text",
"type": "text",
"description": "text",
"filename": "text",
"size": 1,
"contentType": "text",
"orderId": "text",
"licenseKey": "text",
"agreement": {
"id": "text",
"icon": "text",
"status": "New",
"name": "text"
}
}
Last updated
Was this helpful?