PUT
/
v1
/
bill_of_materials_line_items
/
:id
curl --location --request PUT 'https://api.stateset.com/v1/bill_of_materials_line_item' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "user_group_id": "example_1",
    "name": "Example 1",
    "mapping": {"40": "213", "134": "386"},
    "properties": {"filterValue": "value"}
}'
{
  "data": {
    "update_bill_of_material_line_items": {
      "returning": [
        {
          "id": "bomi_ODkRWQtx9NVsRX"
        }
      ]
    }
  }
}

Body

id
string

This is the id of the bill of materials line item.

part_number
string

This is the part number of the bill of materials line item.

part_name
string

This is the part name of the bill of materials line item.

quantity
number

This is the quantity of the bill of materials line item.

purchase_supply_type
string

This is the purchase supply type of the bill of materials line item.

bill_of_materials_number
string

This is the bill of materials number of the bill of materials line item.

Response

id
string

This is the id of the bill of materials line item.

bill_of_materials_number
string

This is the number of the bill of materials to which the line item belongs.

line_type
string

This is the type or category of the line item.

part_name
string

This is the name of the part or item included in the bill of materials.

part_number
string

This is the number or code associated with the part or item.

purchase_supply_type
string

This is the type or category of the purchase/supply associated with the line item.

quantity
number

This is the quantity of the part or item required in the bill of materials.

status
string

This is the status or state of the line item.