Update Project
Changed onUpdate a project (partial). Supports stage_id, is_archived, is_deleted, etc.
Request
- Base URLhttps://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
Request body
Request model for updating a project.
All fields are optional - only provided fields will be updated. This follows PATCH semantics where partial updates are allowed.
Note: Some fields are intentionally excluded (system-managed or security-sensitive):
- id, updated_at (system-managed)
- shop_id (security-sensitive, should not change via PATCH)
- project_number (auto-generated, but editable by managers)
- latest_bid (system-managed)
created_at is editable from the job card. A date-only value is stored at noon UTC so the calendar day does not shift. The database trigger rewrites the generated project number when the month changes.
Jeevy-generated project number (system-managed)
Optional shop-facing project number. Jeevy still assigns project_number.
Client ID to assign to this project (updates project code)
Client team ID (optional; when set, project assigned to team; when null, to client)
Project stage ID to update
Project title
Project details/description
Project class/category
Agreed contract value entered by the PM. Read back in preference to the system-managed latest_bid -> project_bids path, which stays excluded from this schema
The margin this job is meant to return, as a percent (35 for 35%). It sets the target budget the spend chart holds the job against; null follows the default
Date the job was opened (YYYY-MM-DD). Stored at noon UTC.
Delivery deadline (ISO date format)
Bid deadline (ISO date format)
Delivery estimate (ISO date format)
Manager override for project pace: 'ahead' or 'behind'. Null keeps the computed pace.
Progress chart setup: the serials that get a bar, and the categories their work orders are counted under. No serials keeps the default chart.
Project location
Saved client ship-to this job delivers to. Null clears the link.
WGS84 latitude for clock-in geofence center; set with clockSiteLongitude to enforce
WGS84 longitude for clock-in geofence center
Allowed distance from site in meters (default 500 when coordinates are set)
Client lead/contact name
Client lead email
Client lead phone
Client point of contact ID
Project status
Project state (e.g., 'active', 'archived')
Labor estimate
Inventory availability status
Whether project is archived
Soft delete; when True, deleted_at is set automatically
Internal notes
Takeoff drawings reference
Display name cache for assigned owner
Personnel ID of the project owner/manager
Tasking order array
Client PO number (updates latest client_purchase_orders or creates new)
Path to uploaded PO file in client-pos bucket (replaces existing)
Display name of PO file (replaces existing)
'commercial' or 'export_controlled'. US Persons may upgrade; only owner may downgrade.
Response
Successful Response
Changes
- info
added the new optional request property
progressTracking
- info
- info
added the new optional request property
schedulePace
- info