body record_typestringdefault: propertyproperty, person, or company.body record_idsarrayrequiredprop_12345 or the bare number.body lifecyclestringrequiredactive, opportunity, or archived.body cascadebooleandefault: truefalse to keep them open. Mail always ends, and list memberships are kept either way.changed is how many prospects moved. already_in_lifecycle counts prospects that were there before the call and were left as they were. not_prospects counts requested records that are not prospects in the workspace. Repeating the same call is safe: it reports zero changes and still ends mail for any archived record in the selection.1234curl -X PATCH "https://api.v2.dealmachine.com/v1/prospects" \ -H "Authorization: Bearer dm_sk_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "record_ids": ["prop_12345", "prop_67890", "prop_24680"], "lifecycle": "archived" }'
123456789{ "data": { "lifecycle": "archived", "changed": 1, "already_in_lifecycle": 1, "not_prospects": 1, "changed_record_ids": ["prop_12345"] } }