Update Company Segment Item
update_company_segment_itemUpdate a company segment item in Procore, including activating or deactivating cost types. Send only changed fields; omitted values stay unchanged.
Instructions
Update a specific Company Segment Item. For cost types (line item types), the status attribute can be used to activate or deactivate the cost type when the cost type deactivation feature is enabled. Deactivating the default cost type (Other) or the last remaining active cost type will return a 422 error. Send only the fields you intend to change; omitted fields keep their current values. company_id defaults to the value set by procore_set_config when omitted, and segment_id, id must identify existing parent records — resolve them with the matching list tool first. Returns the modified company segment item on success. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: company_id, segment_id, id. Procore API: Construction Financials > Work Breakdown Structure. Endpoint: PATCH /rest/v1.0/companies/{company_id}/work_breakdown_structure/segments/{segment_id}/segment_items/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Work Breakdown Structure resource | |
| code | No | JSON request body field — segment Item Code | |
| name | No | JSON request body field — segment Item Name | |
| status | No | JSON request body field — segment Item Status | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| segment_id | Yes | URL path parameter — unique identifier of the segment | |
| default_uom_id | No | JSON request body field — iD of the Unit of Measure to set as the default for this Cost type (line item type) segment item. Pass null to remove the existing default. Part of the Units of Measure Validation beta. | |
| standard_cost_code_list_id | No | Query string parameter — standard Cost Code List ID (required for cost codes only) |