Deals
Results are always returned newest-first (created_at desc); there is no sort parameter. Each row embeds its completeness summary (§7). Pass property_id to find the deal a given property was promoted from (spec §8.3 back-link).
Required scope: deals:read
Pagination: cursor
Error codes: INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>status?stringDefaults to all when omitted.
"in_progress""promoted""dropped""all"kind?string"acquisition""disposition""internal_transfer"property_id?stringFilter to the deal promoted into this property. Backs the property → originating-deal link (spec §8.3). Renamed from trackable_id in fix 7 unit 7.
uuidcursor?stringlimit?number1..100, default 50
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/deals'{ "data": [ { "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a", "attributes": {}, "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b", "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0", "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb", "code": "string", "completeness": { "can_promote": true, "complete": 0, "requirements": [ { "gating": true, "key": "property_details", "message": "string", "ok": true } ], "total": 0 }, "contract_price": "string", "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "critical_dates": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "event_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_standard": true, "kind": "string", "label": "string", "sort_order": 0, "status": "pending", "updated_at": "2019-08-24T14:15:22Z" } ], "currency": "string", "drop_reason": "string", "dropped_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "acquisition", "name": "string", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "parties": [ { "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "deal_role": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "side": "buyer" } ], "promoted_at": "2019-08-24T14:15:22Z", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "property_removed_at": "2019-08-24T14:15:22Z", "purchase_date": "2019-08-24", "purchase_price": "string", "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15", "stage": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "terminal_outcome": "closed" }, "status": "in_progress", "tenants": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1" } ], "updated_at": "2019-08-24T14:15:22Z" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Required scope: deals:write
Error codes: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, CONFLICT, DEAL_SIDE_NOT_ALLOWED_FOR_KIND, DEAL_STAGE_CATALOG_INCOMPLETE
access-tokenAuthorizationBearer <token>Idempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
admin_legal_entity_id?stringDeprecatedDeprecated alias of contracting_legal_entity_id (removed one release after Deal Center phase 0).
uuidattributes?Free-form jsonb bag. Canonical keys: address_line1, address_line2, city, state, postal_code, country, county, category, store_type, type, sqft.
buyer_legal_entity_id?stringThe org's own legal entity on the buying side. Accepted on acquisition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.
uuidbuyer_party_id?stringThe external buyer (a party in the org). Accepted on disposition deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.
uuidclient_party_id?stringThe client the deal is run for (a party in the org). Accepted on acquisition, disposition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.
uuidcode?stringCase code (e.g. legacy "494").
length <= 64contract_price?stringNumeric string with up to 2 decimal places (e.g. "1250000.00").
contracting_legal_entity_id?stringThe org's legal entity that signs the contract. Its entity_ownerships cap table (GET /v1/entity-ownerships?parent_entity_id=...) IS the deal's owners — see the owners completeness requirement. Accepted on acquisition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.
uuidcurrency?stringlength <= 8kind?stringDefaults to acquisition. Immutable once created.
"acquisition""disposition""internal_transfer"name*stringlength <= 200purchase_date?stringdatepurchase_price?stringDeprecatedDeprecated alias of contract_price (removed one release after Deal Center phase 0).
seller_legal_entity_id?stringThe org's own legal entity on the selling side. Accepted on disposition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.
uuidapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/deals' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'{ "data": { "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a", "attributes": {}, "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b", "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0", "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb", "code": "string", "completeness": { "can_promote": true, "complete": 0, "requirements": [ { "gating": true, "key": "property_details", "message": "string", "ok": true } ], "total": 0 }, "contract_price": "string", "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "critical_dates": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "event_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_standard": true, "kind": "string", "label": "string", "sort_order": 0, "status": "pending", "updated_at": "2019-08-24T14:15:22Z" } ], "currency": "string", "drop_reason": "string", "dropped_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "acquisition", "name": "string", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "parties": [ { "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "deal_role": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "side": "buyer" } ], "promoted_at": "2019-08-24T14:15:22Z", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "property_removed_at": "2019-08-24T14:15:22Z", "purchase_date": "2019-08-24", "purchase_price": "string", "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15", "stage": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "terminal_outcome": "closed" }, "status": "in_progress", "tenants": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1" } ], "updated_at": "2019-08-24T14:15:22Z" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: deals:read
Error codes: NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/deals/string'{ "data": { "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a", "attributes": {}, "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b", "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0", "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb", "code": "string", "completeness": { "can_promote": true, "complete": 0, "requirements": [ { "gating": true, "key": "property_details", "message": "string", "ok": true } ], "total": 0 }, "contract_price": "string", "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "critical_dates": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "event_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_standard": true, "kind": "string", "label": "string", "sort_order": 0, "status": "pending", "updated_at": "2019-08-24T14:15:22Z" } ], "currency": "string", "drop_reason": "string", "dropped_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "acquisition", "name": "string", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "parties": [ { "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "deal_role": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "side": "buyer" } ], "promoted_at": "2019-08-24T14:15:22Z", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "property_removed_at": "2019-08-24T14:15:22Z", "purchase_date": "2019-08-24", "purchase_price": "string", "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15", "stage": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "terminal_outcome": "closed" }, "status": "in_progress", "tenants": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1" } ], "updated_at": "2019-08-24T14:15:22Z" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: deals:write
Error codes: NOT_FOUND, VALIDATION_FAILED, DEAL_NOT_EDITABLE, DEAL_KIND_IMMUTABLE, DEAL_SIDE_NOT_ALLOWED_FOR_KIND
access-tokenAuthorizationBearer <token>id*stringapplication/json- body
admin_legal_entity_id?|DeprecatedDeprecated alias of contracting_legal_entity_id (removed one release after Deal Center phase 0).
uuidattributes?Whole-object REPLACE, not a merge: when present, the deal's attributes are set to exactly this object (omit the field to leave them unchanged). Send the full attribute set on every update.
buyer_legal_entity_id?|The org's own legal entity on the buying side. Accepted on acquisition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.
uuidbuyer_party_id?|The external buyer (a party in the org). Accepted on disposition deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.
uuidclient_party_id?|The client the deal is run for (a party in the org). Accepted on acquisition, disposition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.
uuidcode?|length <= 64contract_price?|Numeric string with up to 2 decimal places, or null to clear.
contracting_legal_entity_id?|The org's legal entity that signs the contract. Its entity_ownerships cap table (GET /v1/entity-ownerships?parent_entity_id=...) IS the deal's owners — see the owners completeness requirement. Accepted on acquisition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.
uuidcurrency?|length <= 8name?stringlength <= 200purchase_date?|datepurchase_price?|DeprecatedDeprecated alias of contract_price (removed one release after Deal Center phase 0).
seller_legal_entity_id?|The org's own legal entity on the selling side. Accepted on disposition, internal_transfer deals; any other kind answers 422 DEAL_SIDE_NOT_ALLOWED_FOR_KIND.
uuidapplication/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/deals/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a", "attributes": {}, "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b", "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0", "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb", "code": "string", "completeness": { "can_promote": true, "complete": 0, "requirements": [ { "gating": true, "key": "property_details", "message": "string", "ok": true } ], "total": 0 }, "contract_price": "string", "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "critical_dates": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "event_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_standard": true, "kind": "string", "label": "string", "sort_order": 0, "status": "pending", "updated_at": "2019-08-24T14:15:22Z" } ], "currency": "string", "drop_reason": "string", "dropped_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "acquisition", "name": "string", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "parties": [ { "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "deal_role": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "side": "buyer" } ], "promoted_at": "2019-08-24T14:15:22Z", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "property_removed_at": "2019-08-24T14:15:22Z", "purchase_date": "2019-08-24", "purchase_price": "string", "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15", "stage": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "terminal_outcome": "closed" }, "status": "in_progress", "tenants": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1" } ], "updated_at": "2019-08-24T14:15:22Z" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: deals:write
Error codes: NOT_FOUND, DEAL_DELETE_PROMOTED
access-tokenAuthorizationBearer <token>id*stringPossible error codes: NOT_FOUND
application/json- response
code*stringdetail*stringerrors?array<>instance*stringnext_action?stringWhat the caller does next. Sent only by codes that declare it (the PLAN_* codes).
"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"request_id*stringretryable?booleanWhether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).
status*numbertitle*stringtype*stringcurl -X DELETE 'https://api.acreum.io/v1/deals/string'{ "code": "DOCUMENT_ALREADY_POSTED", "detail": "Document doc_01 is already posted.", "errors": [ { "code": "INVALID_VALUE", "field": "amount", "message": "must be > 0" } ], "instance": "/v1/documents/doc_01/post", "next_action": "fix_step", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "retryable": true, "status": 409, "title": "Document already posted", "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}Required scope: deals:read
Pagination: cursor-optional
Error codes: NOT_FOUND, INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>id*stringcursor?stringlimit?number1..500. Omit to receive the full collection in one page.
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/deals/string/critical-dates'{ "data": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "event_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_standard": true, "kind": "string", "label": "string", "sort_order": 0, "status": "pending", "updated_at": "2019-08-24T14:15:22Z" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Required scope: deals:write
Error codes: NOT_FOUND, VALIDATION_FAILED, DEAL_NOT_EDITABLE, DEAL_CRITICAL_DATES_MAX_CUSTOM, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
event_date?|datelabel*stringLabel for the custom milestone.
status?string"pending""done""na"application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/deals/string/critical-dates' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "label": "string"}'{ "data": { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "event_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_standard": true, "kind": "string", "label": "string", "sort_order": 0, "status": "pending", "updated_at": "2019-08-24T14:15:22Z" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: deals:write
Error codes: NOT_FOUND, VALIDATION_FAILED, DEAL_NOT_EDITABLE, DEAL_CRITICAL_DATE_LABEL_IMMUTABLE, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringcdId*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
event_date?|Set/clear the date. null clears it.
datelabel?stringRename — allowed for custom entries only.
status?string"pending""done""na"application/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/deals/string/critical-dates/string' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "event_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_standard": true, "kind": "string", "label": "string", "sort_order": 0, "status": "pending", "updated_at": "2019-08-24T14:15:22Z" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: deals:write
Error codes: NOT_FOUND, DEAL_NOT_EDITABLE
access-tokenAuthorizationBearer <token>id*stringcdId*stringPossible error codes: NOT_FOUND
application/json- response
code*stringdetail*stringerrors?array<>instance*stringnext_action?stringWhat the caller does next. Sent only by codes that declare it (the PLAN_* codes).
"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"request_id*stringretryable?booleanWhether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).
status*numbertitle*stringtype*stringcurl -X DELETE 'https://api.acreum.io/v1/deals/string/critical-dates/string'{ "code": "DOCUMENT_ALREADY_POSTED", "detail": "Document doc_01 is already posted.", "errors": [ { "code": "INVALID_VALUE", "field": "amount", "message": "must be > 0" } ], "instance": "/v1/documents/doc_01/post", "next_action": "fix_step", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "retryable": true, "status": 409, "title": "Document already posted", "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}Required scope: deals:write
Error codes: NOT_FOUND, DEAL_INVALID_TRANSITION, DEAL_STAGE_CATALOG_INCOMPLETE, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
reason?stringOptional free-text reason recorded on the deal.
length <= 500application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/deals/string/drop' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a", "attributes": {}, "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b", "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0", "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb", "code": "string", "completeness": { "can_promote": true, "complete": 0, "requirements": [ { "gating": true, "key": "property_details", "message": "string", "ok": true } ], "total": 0 }, "contract_price": "string", "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "critical_dates": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "event_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_standard": true, "kind": "string", "label": "string", "sort_order": 0, "status": "pending", "updated_at": "2019-08-24T14:15:22Z" } ], "currency": "string", "drop_reason": "string", "dropped_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "acquisition", "name": "string", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "parties": [ { "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "deal_role": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "side": "buyer" } ], "promoted_at": "2019-08-24T14:15:22Z", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "property_removed_at": "2019-08-24T14:15:22Z", "purchase_date": "2019-08-24", "purchase_price": "string", "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15", "stage": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "terminal_outcome": "closed" }, "status": "in_progress", "tenants": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1" } ], "updated_at": "2019-08-24T14:15:22Z" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: deals:read
Pagination: cursor-optional
Error codes: NOT_FOUND, INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>id*stringcursor?stringlimit?number1..500. Omit to receive the full collection in one page.
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/deals/string/parties'{ "data": [ { "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "deal_role": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "side": "buyer" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Required scope: deals:write
Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT, DEAL_NOT_EDITABLE, DEAL_ROLE_UNKNOWN, DEAL_ROLE_NOT_ALLOWED_FOR_KIND, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
deal_role*stringA code from the org's deal role catalog; each role carries a side (buyer, seller or neutral). Every org is seeded with: seller, seller_attorney, seller_broker, current_lender, broker, current_owner, buyer_attorney, buyer_broker, lender, equity_partner, title_escrow, surveyor, environmental, inspector, insurer, appraiser, other. One required 'seller' party gates promote; the rest are informational. A disposition or internal transfer refuses seller and current_owner with DEAL_ROLE_NOT_ALLOWED_FOR_KIND: there the org's own entity is the seller.
length <= 64party_id*stringuuidapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/deals/string/parties' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "deal_role": "string", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1"}'{ "data": { "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "deal_role": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "side": "buyer" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: deals:write
Error codes: NOT_FOUND, DEAL_NOT_EDITABLE
access-tokenAuthorizationBearer <token>id*stringdealPartyId*stringPossible error codes: NOT_FOUND
application/json- response
code*stringdetail*stringerrors?array<>instance*stringnext_action?stringWhat the caller does next. Sent only by codes that declare it (the PLAN_* codes).
"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"request_id*stringretryable?booleanWhether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).
status*numbertitle*stringtype*stringcurl -X DELETE 'https://api.acreum.io/v1/deals/string/parties/string'{ "code": "DOCUMENT_ALREADY_POSTED", "detail": "Document doc_01 is already posted.", "errors": [ { "code": "INVALID_VALUE", "field": "amount", "message": "must be > 0" } ], "instance": "/v1/documents/doc_01/post", "next_action": "fix_step", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "retryable": true, "status": 409, "title": "Document already posted", "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}Requires both deals:close and properties:write, because promoting creates a property.
Required scope: deals:close, properties:write
Error codes: NOT_FOUND, DEAL_INVALID_TRANSITION, DEAL_CHECKLIST_INCOMPLETE, DEAL_KIND_NOT_PROMOTABLE, DEAL_STAGE_CATALOG_INCOMPLETE, CONFLICT, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/deals/string/promote' \ -H 'Idempotency-Key: string'{ "data": { "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a", "attributes": {}, "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b", "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0", "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb", "code": "string", "completeness": { "can_promote": true, "complete": 0, "requirements": [ { "gating": true, "key": "property_details", "message": "string", "ok": true } ], "total": 0 }, "contract_price": "string", "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "critical_dates": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "event_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_standard": true, "kind": "string", "label": "string", "sort_order": 0, "status": "pending", "updated_at": "2019-08-24T14:15:22Z" } ], "currency": "string", "drop_reason": "string", "dropped_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "acquisition", "name": "string", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "parties": [ { "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "deal_role": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "side": "buyer" } ], "promoted_at": "2019-08-24T14:15:22Z", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "property_removed_at": "2019-08-24T14:15:22Z", "purchase_date": "2019-08-24", "purchase_price": "string", "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15", "stage": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "terminal_outcome": "closed" }, "status": "in_progress", "tenants": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1" } ], "updated_at": "2019-08-24T14:15:22Z" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: deals:write
Error codes: NOT_FOUND, DEAL_INVALID_TRANSITION, DEAL_STAGE_CATALOG_INCOMPLETE, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/deals/string/reopen' \ -H 'Idempotency-Key: string'{ "data": { "admin_legal_entity_id": "8bc4a9d0-786b-4d77-b3e6-24d58d6bc79a", "attributes": {}, "buyer_legal_entity_id": "ca0448e0-edee-4cf4-94d5-feb565de504b", "buyer_party_id": "d545642f-0119-41af-844d-8ca35d8b73f0", "client_party_id": "ccce9e78-2248-4a9a-a468-2d84f2077dcb", "code": "string", "completeness": { "can_promote": true, "complete": 0, "requirements": [ { "gating": true, "key": "property_details", "message": "string", "ok": true } ], "total": 0 }, "contract_price": "string", "contracting_legal_entity_id": "7e17ad9c-c28c-42a2-a7a6-3d8e6aa52e03", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "critical_dates": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "event_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_standard": true, "kind": "string", "label": "string", "sort_order": 0, "status": "pending", "updated_at": "2019-08-24T14:15:22Z" } ], "currency": "string", "drop_reason": "string", "dropped_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "acquisition", "name": "string", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "parties": [ { "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "deal_role": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "side": "buyer" } ], "promoted_at": "2019-08-24T14:15:22Z", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "property_removed_at": "2019-08-24T14:15:22Z", "purchase_date": "2019-08-24", "purchase_price": "string", "seller_legal_entity_id": "db6c6760-a978-4f30-962b-af147874da15", "stage": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "terminal_outcome": "closed" }, "status": "in_progress", "tenants": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1" } ], "updated_at": "2019-08-24T14:15:22Z" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: deals:read
Pagination: cursor-optional
Error codes: NOT_FOUND, INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>id*stringcursor?stringlimit?number1..500. Omit to receive the full collection in one page.
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/deals/string/tenants'{ "data": [ { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Required scope: deals:write
Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT, DEAL_NOT_EDITABLE, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
party_id*stringuuidapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/deals/string/tenants' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1"}'{ "data": { "created_at": "2019-08-24T14:15:22Z", "deal_id": "2fa5b64f-5b72-4263-958e-07b76f41abe3", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: deals:write
Error codes: NOT_FOUND, DEAL_NOT_EDITABLE
access-tokenAuthorizationBearer <token>id*stringtenantId*stringPossible error codes: NOT_FOUND
application/json- response
code*stringdetail*stringerrors?array<>instance*stringnext_action?stringWhat the caller does next. Sent only by codes that declare it (the PLAN_* codes).
"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"request_id*stringretryable?booleanWhether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).
status*numbertitle*stringtype*stringcurl -X DELETE 'https://api.acreum.io/v1/deals/string/tenants/string'{ "code": "DOCUMENT_ALREADY_POSTED", "detail": "Document doc_01 is already posted.", "errors": [ { "code": "INVALID_VALUE", "field": "amount", "message": "must be > 0" } ], "instance": "/v1/documents/doc_01/post", "next_action": "fix_step", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "retryable": true, "status": 409, "title": "Document already posted", "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}Required scope: deals:read
Pagination: cursor
Error codes: ATTACHMENT_NOT_FOUND, VALIDATION_FAILED, INVALID_CURSOR
access-tokenAuthorizationBearer <token>parentId*stringcursor?stringlimit?number1..500, default 200
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/deals/string/files'{ "data": [ { "content_type": "application/pdf", "file_name": "string", "file_sha256": "string", "file_size_bytes": 0, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "folder_name": "string", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "group_label": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "owner_name": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "source_kind": "party", "source_label": "string", "uploaded_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Required scope: deals:write
Error codes: ATTACHMENT_NOT_FOUND, ATTACHMENT_TYPE_UNSUPPORTED, ATTACHMENT_TOO_LARGE, VALIDATION_FAILED, DEAL_NOT_EDITABLE, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>parentId*stringfolderId*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255multipart/form-data- body
file*unknownPDF, image, Office, CSV or TXT file. Max 20 MiB. Sniffed server-side.
application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/deals/string/files?folderId=string' \ -H 'Idempotency-Key: string' \ -F 'file=null'{ "data": { "content_type": "application/pdf", "file_name": "string", "file_sha256": "string", "file_size_bytes": 0, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "folder_name": "string", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "group_label": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "owner_name": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "source_kind": "party", "source_label": "string", "uploaded_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: deals:write
Error codes: ATTACHMENT_NOT_FOUND, VALIDATION_FAILED, DEAL_NOT_EDITABLE, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY
access-tokenAuthorizationBearer <token>parentId*stringfileId*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
file_name?stringNew display name for the file (rename). Trimmed server-side; storage_path and content_type never change. The extension is immutable — the new name must keep the current extension (changing it returns VALIDATION_FAILED). Omit to leave the current name unchanged. An explicit null is rejected — omit the field instead.
1 <= length <= 255folder_id?|Target folder id (see GET /v1/org-folders), or null to move the file to the root. Omit to leave the current folder unchanged.
uuidapplication/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/deals/string/files/string' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "content_type": "application/pdf", "file_name": "string", "file_sha256": "string", "file_size_bytes": 0, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "folder_name": "string", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "group_label": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "owner_name": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "source_kind": "party", "source_label": "string", "uploaded_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: files:delete
Error codes: ATTACHMENT_NOT_FOUND, DEAL_NOT_EDITABLE, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY
access-tokenAuthorizationBearer <token>parentId*stringfileId*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255Possible error codes: IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY
application/json- response
code*stringdetail*stringerrors?array<>instance*stringnext_action?stringWhat the caller does next. Sent only by codes that declare it (the PLAN_* codes).
"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"request_id*stringretryable?booleanWhether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).
status*numbertitle*stringtype*stringcurl -X DELETE 'https://api.acreum.io/v1/deals/string/files/string' \ -H 'Idempotency-Key: string'{ "code": "DOCUMENT_ALREADY_POSTED", "detail": "Document doc_01 is already posted.", "errors": [ { "code": "INVALID_VALUE", "field": "amount", "message": "must be > 0" } ], "instance": "/v1/documents/doc_01/post", "next_action": "fix_step", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "retryable": true, "status": 409, "title": "Document already posted", "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}Required scope: deals:read
Error codes: ATTACHMENT_NOT_FOUND
access-tokenAuthorizationBearer <token>parentId*stringfileId*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/deals/string/files/string/download'{ "data": { "expires_at": "2019-08-24T14:15:22Z", "url": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}