Create Product Media
Create new media for a product.
post
Path parameters
productIdstringRequired
Body
filestring · binaryOptional
Responses
201
Created
application/json
400
Bad Request
application/json
post
POST /public/v1/catalog/products/{productId}/media HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: multipart/form-data
Accept: */*
Content-Length: 112
{
"media": {
"Name": "text",
"Description": "text",
"MediaType": "Video",
"Url": "text",
"DisplayOrder": 1
},
"file": "binary"
}
{
"id": "text",
"audit": {
"created": {
"at": "2025-08-06T09:32:37.789Z",
"by": "[Circular Reference]"
},
"updated": {
"at": "2025-08-06T09:32:37.789Z",
"by": "[Circular Reference]"
}
},
"$meta": {
"omitted": [
"text"
]
},
"name": "text",
"type": "text",
"description": "text",
"status": "text",
"filename": "text",
"size": 1,
"contentType": "text",
"displayOrder": 1,
"url": "text",
"product": {
"id": "text",
"name": "text",
"externalIds": {
"operations": "text"
},
"icon": "text",
"status": "text"
}
}
Last updated
Was this helpful?