NooviChat icon

NooviChat

Interact with NooviChat — manage conversations, contacts, pipeline CRM, lead scoring, campaigns and WhatsApp

Actions353

Opportunity → Create

AI-generated

Summary

Record a stand-alone sale on an opportunity card without moving the card. Requires the account’s pipeline_opportunities feature; the normal way to record a sale is to mark the card Won.

Inputs

  • Account ID (required) — NooviChat account ID; supports expressions for multi-account workflows.
  • Card ID (required) — ID of the pipeline card to attach the sale to.
  • Items (JSON) — Optional JSON array of up to 50 sale items. Each item can include pipeline_product_id, quantity, unit_value, total_value, title, note, and custom_attributes. When provided, the sale total is calculated from the items, and the sale fields Total Value, Unit Value, Quantity, and Product ID are ignored.
  • Sale Fields — Optional sale details: Note, Product ID, Quantity, Title, Total Value, and Unit Value. Total Value must be a non-negative decimal with a dot separator. An unknown Product ID returns a 404. These fields are ignored where specified if Items (JSON) is provided.

Output shape

A single sale record returned by the API.

The sale is added to the card’s sales ledger; this operation does not move the card. Sale records are immutable; use Void to mark one as reversed.

Links

Discussion