proposals

PATCH /v1/proposals/{proposalId}

Edit a proposal before it is accepted.

All proposals endpoints

All developer docs

Authentication

Send an API key as a bearer token. This endpoint does not state a specific permission in the specification, so give your key the least it needs and check the response rather than assuming.

Where your organisation id goes

This endpoint takes org_id as a query parameter. Leave it out and the call covers your whole tenancy subtree; send it to narrow the call to one organisation.

Your organisation id is on the API keys screen in your dashboard, beside the key itself. It is the same id in every call you make.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X PATCH https://api.zinndigital.com/v1/proposals/{proposalId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

⛔ Refused (422) once accepted — the accepted revision is the agreement. Editing a SENT proposal does not change what the recipient reads until it is sent again, which issues a new revision and replaces their link.

Parameters

NameTypeRequiredWhat it is
proposalId (path)stringYes
org_id (query)UuidNoWhich of your organizations is invoicing. Required only when you belong to more than one — otherwise it is inferred from your DIRECT membership, never from the subtree-expanded…

Request body

NameTypeRequiredWhat it is
titlestringNo
messagestringNo
termsstringNo
currencystringNo
valid_untilobjectNo
agency_tax_rate_idobjectNo
recipient_namestringNo
recipient_emailstringNo
recipient_companystringNo
recipient_countrystringNo
recipient_tax_idstringNo
recipient_localestringNo
source_request_idobjectNo
linesProposalLineInput[]No

Response

NameTypeRequiredWhat it is
idstringYes
referencestringYes
statusProposalStatusYes
titlestringYes
currencystringYes
recipient_namestringYes
recipient_emailstringYes
recipient_companystringNo
revisionintegerYes
valid_untilobjectNo
sent_atobjectNo
decided_atobjectNo
paid_atobjectNo
board_idobjectNo
created_atstringYes
updated_atstringNo
messagestringNo
termsstringNo
agency_tax_rate_idobjectNo
recipient_countrystringNo
recipient_tax_idstringNo
recipient_localestringNo
accepted_revisionobjectNo
accepted_by_namestringNo
source_request_idobjectNo
completed_atobjectNo
linesProposalLine[]Yes
totalsProposalTotalsYes
invoiceProposalInvoice | nullNo
eventsProposalEvent[]Yes
editablebooleanYes
public_urlstringNoReturned ONCE, by send. Never readable again.

Errors this endpoint can return

401 · 403 · 404 · 422