Skip to main content
curl --location --request POST 'https://api-v2.production.higg.org/msi-api/v1/materials/update-limited-lcia/{materialId}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'x-api-key: APIKEY'
--header 'x-developer-request-token: APIKEY'
--data-raw '{

    "name": "Organic/Poly Blend",
    "code": "my PLM code",
    "category": "TX",
    "baseMaterials":[{
        "baseMaterialId": "FM002",
        "blendPercentage": 60,
        "processes": {
        	"P001": "PR0804000648",
        	"P002": "PR0804000331"
				}
    }, {
      	"baseMaterialId": "TX0010",
       	"blendPercentage": 40,
       	"processes": {
       		"P006": "PR0804000543"
       }
    }]
    }'
{"success":true}
1

Set API token

Set your API token:
--header 'x-api-key: APIKEY'
--header 'x-developer-request-token: APIKEY'
2

Update Material Name

Optional. Only if you need to update the name of your material blend.
"name": "Organic/Poly Blend",
3

Base Materials - Update Material Code

Optional. Update your internal, or PLM, reference code for this material.
"code": "my PLM code",
4

Base Materials - Provide Material ID

Include the ID for the specific base material you’re updating.
"baseMaterialId": "FM002",
"baseMaterialId": "TX0010",
5

Base Materials - Update Blend %

Optional. Change the blendPercentage for the materials in your blends.All blendPercentage fields must add up to exactly 100%.
"blendPercentage": 60,
"blendPercentage": 40,
6

Base Materials - Update Process for each Lifecycle Stage

One line per stage and process. Refer to the GET Base Material Processes documentation for a list of available stages, processes and their IDs.
"processes": {
    "P001": "PR0804000648",
    "P002": "PR0804000331"
}
"processes": {
    "P006": "PR0804000543"
}