Skip to content
Public API
Esc
↑↓navigate↵open⌘Jpreview

Update a material series

Every field is optional — only the fields present in the body are applied.

PUT/material-series/{id}
Authorization
AuthorizationAPI key · headerrequired

The Incoming Secret value (<secretId>.<random>), with or without a Bearer prefix.

Path parameters
idstringrequired
Request body
application/json
namestring

Material series name.

customIdstring

Custom material series id.

costnumber

Cost per unit.

surfacenumber

Surface speed.

cuttingSpeednumber

Cutting speed.

feedRoughingnumber

Feed rate for roughing.

feedFinishingnumber

Feed rate for finishing.

knowledgeSeriesIdinteger

Id of the knowledge material series to link to.

customFieldsany[]

Custom fields as {id, label, value} entries.

Responses
200

OK. Returns only the id — fetch the full Material Series with the corresponding GET.

idinteger | stringrequired

Id of the updated Material Series.

Show properties
One of:
integer
integer
string
string
401

Authentication failed. All causes return this identical response.

codeinteger
messagestring
typestring
default

Downstream errors pass through verbatim; x-error-source names the failing service.

codeinteger
messagestring
typestring
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'https://next.amfg.ai/engine-service/public-api/v1/material-series/string' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "customId": "string",
  "cost": 0,
  "surface": 0,
  "cuttingSpeed": 0,
  "feedRoughing": 0,
  "feedFinishing": 0,
  "knowledgeSeriesId": 0,
  "customFields": []
}'
Response
{
  "id": 0
}