Printago API
POST /v1/materials

Create material

Create a new material type

Requires: material.create

Request Body

Material type data

MaterialInsert
brandrequired
string
externalIdoptional
string
filamentSystemProfileIdrequired
number
filamentUserProfileIdrequired
string
identifieroptional
string
namerequired
string
pricePer1000goptional
number
sourceoptional
string
starredoptional
boolean
tagsrequired
string[]
typerequired
string

Example Request

application/json
{
  "name": "string",
  "type": "string",
  "brand": "string",
  "tags": [
    "string"
  ],
  "starred": true
}

Response Schema

Material
brandrequired
string
createdAtrequired
string
format: date-time
externalIdoptional
string
filamentSystemProfileIdrequired
number
filamentUserProfileIdrequired
string
idrequired
string
pattern: ^[a-z0-9]{24}$
identifieroptional
string
namerequired
string
pricePer1000goptional
number
sourceoptional
string
starredoptional
boolean
storeIdrequired
string
pattern: ^[a-z0-9]{24}$
tagsrequired
string[]
typerequired
string
updatedAtrequired
string
format: date-time

Example Response

201 OK — application/json
{
  "name": "string",
  "brand": "string",
  "type": "string",
  "tags": [
    "string"
  ],
  "starred": true,
  "id": "string",
  "storeId": "string",
  "createdAt": "2026-08-24T03:58:55.561Z",
  "updatedAt": "2026-08-24T03:58:55.561Z"
}