Get quotation PDF
GET
Returns a link (pdfUrl) to the quotation's PDF, regenerating it from the merchant's template if the stored copy is out of date.
BearerAuthheader
AuthorizationBearer <JWT>id*stringID of the record (UUID).
Format
uuidX-TenantID*stringYour merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.
OK
*/*- response
status*stringOutcome of the call: SUCCESS when the request was processed; otherwise an error status.
message*stringShort human-readable message describing the outcome, e.g. which record was saved or why the call failed.
data?Where to download the quotation PDF and which template produced it.
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/sales/quotations/497f6eca-6276-4993-bfeb-53cbbbba6f08/pdf' \ -H 'X-TenantID: your-tenant-code'Example Response
{ "status": "string", "message": "string", "data": { "quotationId": "98c8afab-b1d9-462f-9483-5a2dbf34985f", "quoteNumber": "string", "templateId": 0, "templateVersion": 0, "pdfUrl": "string", "generatedAt": "string" }}