Urano icon

Urano

Interact with the Urano API

Sale → Update Pending Contract

AI-generated

Summary

Update the pending status of a specific contract document on a sale by providing the sale ID, document ID, and whether the contract is still pending.

Inputs

  • Sale ID (required) — Numeric ID of the sale to update (minimum value 1).
  • Document ID (required) — Numeric ID of the contract document to update (minimum value 1).
  • Is Pending (required) — Boolean indicating whether the contract is pending.

Output shape

The API response confirming the updated pending status of the specified contract document on the sale.

Returns the confirmation response from the API after successfully updating the pending status. The request is made via a PUT HTTP method to the endpoint /vendas/{Sale ID}/docs-pendentes/{Document ID} with a body containing pendente as 1 or 0.

Examples

Example 1: Mark a contract document as no longer pending on a sale

Set Sale ID to 123, Document ID to 456, and Is Pending to false.

Links

Discussion