Update Material Library
Material Library
Update Material
POST
Update Material Library
Use this endpoint to update an existing custom material in your PIC material library. You can modify the material name, base materials, and life cycle processes.Documentation Index
Fetch the complete documentation index at: https://developer.worldly.io/llms.txt
Use this file to discover all available pages before exploring further.
Request body params
| Name | Type | Description |
|---|---|---|
name | string | Updated material name. |
code | string | Updated material code. |
category | string | Updated material category. |
supplier | string | Updated supplier name. |
country | string | Updated country of origin. |
cycleProcess | Array<CycleProcess> | Updated life cycle processes (stages P002–P006). |
baseMaterials | Array<BaseMaterial> | Updated base materials with composition percentages. |
Implementation Details
- Partial updates: All fields are optional. Only the fields you provide will be updated.
- Backfill behavior: If you update
cycleProcesswithout providingbaseMaterials, the existing base materials are preserved. - Same validation as create: When provided, base material compositions must sum to 100%, life cycle stages must be unique, and each process needs a
countryorfacilityWorldlyId.
Path Parameters
Body
application/json
Response
200 - application/json
Ok
This interface was referenced by Exports's JSON-Schema
via the definition "picMaterialLibraryEntity".
This interface was referenced by Exports's JSON-Schema
via the definition "userRef".
This interface was referenced by Exports's JSON-Schema
via the definition "accountRef".
This interface was referenced by Exports's JSON-Schema
via the definition "userRef".
This interface was referenced by Exports's JSON-Schema
via the definition "userRef".
This interface was referenced by Exports's JSON-Schema
via the definition "userRef".

