curl --location --request POST 'https://api.stateset.com/api/bill_of_materials_line_item' \ --header 'Content-Type: application/json' \ --header 'Authorization: Token <token>' \ --data-raw '{ "current_token": "" }'
{ { "data": { "insert_bill_of_material_line_items": { "returning": [ { "id": "bomli_1", "bill_of_materials_number": "bom_1", "line_type": "part", "part_name": "Part 1", "part_number": "P1", "purchase_supply_type": "purchase", "quantity": 1, "status": "active" } ] } } } }
This endpoint creates a new bill of materials line item.