Create a new document in catalog management.
Last updated 1 month ago
Json representation of the document
Created
const response = await fetch('/v1/catalog/products/{productId}/documents', { method: 'POST', headers: { "Content-Type": "multipart/form-data" }, body: JSON.stringify({}), }); const data = await response.json();
{ "domainEvents": [ { "timeStamp": "2025-01-23T21:12:21.215Z" } ], "markedForDelete": false, "markedForUpdate": false, "documentId": { "value": "text", "postfixNumber": 0 }, "fileId": { "value": "text" }, "url": "text", "language": "text", "status": "Draft", "isDeleted": false }