Download an offer's certificate
Returns the certificate of completion on its own: who accepted the offer, when, and the hash of the document they accepted. Returns 409 until `sealState` is `SEALED`.
Returns the certificate of completion on its own: who accepted the offer, when, and the hash of the document they accepted. Returns 409 until sealState is SEALED.
Authorization
x-api-key Company API key, created under Settings > API Keys.
In: header
Path Parameters
The offer version id.
Header Parameters
Optional with an API key or OAuth token: leave it out and the company the key or token belongs to is used. If sent, it must be that same company, otherwise the request is refused with 403 API_KEY_WRONG_COMPANY or OAUTH_WRONG_COMPANY.
^[0-9a-fA-F]{24}$Response Body
application/pdf
curl -X GET "https://example.com/crm/offers/string/certificate"[ 0]Discard an offer draft POST
Deletes the draft. When it is the only version of its offer, the offer goes too. A version that is no longer a draft returns 409. Returns no body.
Download an offer PDF GET
Returns the offer document the customer received, as a PDF. A draft has no document yet and returns 409; preview it with the draft PDF route instead.