Update Media

Update the media for a product.

put
Path parameters
productIdstringRequired
idstringRequired
Body
idstringOptional
auditall ofOptional
$metaall ofOptional
namestringOptional
typestringOptional
descriptionstringOptional
statusstringOptional
filenamestringOptional
sizeinteger · int32Optional
contentTypestringOptional
displayOrderinteger · int32Optional
urlstringOptional
productall ofOptional
Responses
200

OK

application/json
put
PUT /public/v1/catalog/products/{productId}/media/{id} HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 443

{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-08-06T09:30:10.519Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-08-06T09:30:10.519Z",
      "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"
  }
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-08-06T09:30:10.519Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-08-06T09:30:10.519Z",
      "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?