Presets
Restore an earlier preset version
Replays an earlier version's preset content as a NEW version on top of the current state.
For example, restoring v3 while at v8 produces v9 whose content equals v3's. Intermediate versions (v4-v8) remain queryable through the history endpoints — restore never destroys history.
post/v1/presets/restore
Request
- Base URL: https://api.handoff.ai
- URL: https://api.handoff.ai/v1/presets/restore
- Auth: HTTP bearer
Request body
Example request
{
"forType": "MATCHING",
"version": 3,
"changeDescription": "Reverting accidental clearing of premium-materials presets",
"storeReference": "STORE-NYC-001",
"customerReference": "CUST-12345"
}Response
Restore applied; returns the new current version.
Example response
{
"presetId": "e3f4a5b6-c7d8-4e9f-0a1b-2c3d4e5f6a7b",
"storeReference": "STORE-NYC-001",
"forType": "MATCHING",
"presets": [
"Include 10% waste factor for all lumber",
"Prefer in-stock items over special orders",
"Use premium grade materials for structural components"
],
"version": 3,
"changeDescription": "Added premium-materials preset for high-end residential customers",
"createdAt": "2025-12-05T16:30:00Z",
"updatedAt": "2025-12-05T16:30:00Z",
"warnings": [
"Preset 2 has an unrecognized TAKEOFF_PRODUCT tag (\"WINDOW_DOORS\") and will never apply to any job"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.