POST
/businesses/{bid}/parties/{id}/consentRecord digital-document consent
POST /businesses/{bid}/parties/{id}/consent
Requires the businesses scope.
Stamps the party as having consented to receiving documents digitally (מסמכים ממוחשבים) rather than on paper. Required before you deliver a document by link or email.
Path parameters
| Name | Type | Description | |
|---|---|---|---|
bid | string | required | Business id, from POST /businesses. |
id | string | required | Party id. |
Response
200: { "ok": true, … }
| Field | Type | Description | |
|---|---|---|---|
ok | boolean | required | |
party | Party | required | A saved customer. Optional: a document may carry an inline party instead. |
Errors: 400, 401, 403, 404, 429. Every failure answers { "error": …, "reason": … }. Branch on reason.