Skip to content

POST /{product_key}/doc

Save Doc

POST
/product/{product_key}/doc

Upload a document file and attach it to a product.

Saves the uploaded file to the product's doc subfolder. Returns the stored
filename on success.

Emits: (direct file write — no event class)

Required scope: product:catalogue:update

Authorizations

OAuth2PasswordBearer
password Flow
Token URL"/api/auth"
Scopes:
  • "admin"User can access and edit users and system settings
  • "library"User can access and edit products
  • "production"User can access and edit production plans
  • "operator"User can access the operator panel and make production declarations

Parameters

Path Parameters

product_key*
Type
string
Required

Request Body

multipart/form-data
object

Responses

Successful Response

application/json
JSON
"string"

Samples

Powered by VitePress OpenAPI