Skip to main content
Update a cell component by ID
curl --request PATCH \
  --url https://api.ionworks.com/cell_components/{component_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "material_id": "<string>",
  "properties": {}
}
'
{
  "material_id": "<string>",
  "id": "<string>",
  "organization_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "properties": {}
}

Path Parameters

component_id
string
required

Body

application/json

Model for updating an existing cell component. All fields are optional.

component_type
enum<string> | null

New component type

Available options:
cathode,
anode,
electrolyte,
separator,
case,
cell
material_id
string | null

New material ID

properties
Properties · object

New properties

Response

Successful Response

Model representing a cell component as returned by the API.

component_type
enum<string>
required

Type of the component

Available options:
cathode,
anode,
electrolyte,
separator,
case,
cell
material_id
string
required

ID of the material

id
string
required

Unique identifier for the component

organization_id
string
required

Organization ID of the component

created_at
string<date-time>
required

Timestamp when the component was created

updated_at
string<date-time>
required

Timestamp when the component was last updated

properties
Properties · object

Application properties using Quantity format for numerics. Example: {'diameter': {'value': 14, 'unit': 'mm'}, 'binder': 'PVDF'}