Update Document

Update document.

put
Path parameters
productIdstringRequired
idstringRequired
Body
idstringOptional
auditall ofOptional
$metaall ofOptional
namestringOptional
typestringOptional
descriptionstringOptional
statusstringOptional
filenamestring | nullableOptional
sizeinteger · int32 | nullableOptional
contentTypestringOptional
urlstringRead-onlyOptional
languagestringOptional
productall ofOptional
Responses
204

No Content

put
PUT /public/v1/catalog/products/{productId}/documents/{id} HTTP/1.1
Host: api.s1.today
Content-Type: application/json
Accept: */*
Content-Length: 455

{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-08-09T15:11:27.845Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-08-09T15:11:27.845Z",
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "type": "text",
  "description": "text",
  "status": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "language": "text",
  "product": {
    "id": "text",
    "name": "text",
    "externalIds": {
      "operations": "text",
      "defaultErpItem": "text"
    },
    "icon": "text",
    "status": "text"
  }
}

No content

Last updated

Was this helpful?