Skip to main content

Add a document to a product

POST 

/v1/materials/:type/:id/documents

Stores a document of the product, such as a manual or a warranty. Send a form (multipart/form-data) with a PDF in file; name and description are optional. Offers take their parts' documents over (POST /v1/offers/{id}/documents/datasheets).

A product holds a file once. When it has the very same file already, the call answers 409 document_already_on_material and names the document in documentId, so a call whose answer you did not get can simply be repeated. Requires the write:materials scope.

Request​

Responses​

The new document.