Actions22
- Client Actions
- Message Channel Actions
- Sale Actions
- Lead Actions
Sale → Create Pending Contract
AI-generatedSummary
Create a pending contract document for a specific sale by providing the sale ID and the document type ID.
Inputs
- Sale ID (required) — The numeric ID of the sale to which the pending contract document will be added.
- Document Type ID (required) — The numeric ID of the document type to set as pending for the sale.
- Request Options — Optional settings to control batching, SSL certificate acceptance, proxy, and request timeout.
Output shape
a single JSON object representing the created pending contract document associated with the specified sale
The operation sends a POST request to the endpoint '/vendas/{Sale ID}/docs-pendentes' with a body containing 'doc_id' for the document type ID; the response includes details about the created pending contract.
Examples
Example 1: Create pending contract
Sale ID set to 123 and Document Type ID set to 456, with default request options.