Skip to main content
Version: v1.0.0(int)

E070: Create material type

POST /api/material-types

Adds a new material type (for example, Substrate, Ink, Packaging). Triggered from Settings, Material types.

Authentication

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Admin.

Request

{ "name": "Raw" }

Only { name } is required; sortOrder is auto-assigned.

Response — 201 Created

{ "id": "uuid", "name": "Raw", "sortOrder": 1 }

Errors

HTTPcodeCondition
422validation_failedDuplicate name.

Workflow

Calls W070 Create material type.