Create Document
Create a new document in catalog management.
post
Path parameters
productIdstringRequired
Body
filestring · binaryOptional
Responses
201
Created
application/json
400
Bad Request
application/json
post
POST /public/v1/catalog/products/{productId}/documents HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: multipart/form-data
Accept: */*
Content-Length: 137
{
"document": {
"Name": "text",
"Description": "text",
"Language": "text",
"DocumentType": "Online",
"Url": "text",
"DisplayOrder": 1
},
"file": "binary"
}
{
"domainEvents": [
{
"timeStamp": "2025-07-19T18:47:08.713Z"
}
],
"markedForDelete": true,
"markedForUpdate": true,
"documentId": {
"value": "text",
"postfixNumber": 1
},
"fileId": {
"value": "text"
},
"url": "text",
"language": "text",
"status": "text",
"isDeleted": true
}
Last updated
Was this helpful?