@theredspace/spp-client
    Preparing search index...

    Interface Deal

    A sales opportunity or contract (“deal”) record. Supports Add, Read, Modify, Upsert, Delete.

    interface Deal {
        active: "0" | "1";
        created: string;
        currency?: string;
        customerid: string;
        externalid?: string;
        id: string;
        name: string;
        notes?: string;
        number?: string;
        status?: string;
        total?: number;
        updated: string;
    }
    Index

    Properties

    active: "0" | "1"

    ‘1’ if active, else ‘0’

    created: string

    [Read-only] Created timestamp

    currency?: string

    Currency code

    customerid: string

    Customer associated with the deal

    externalid?: string

    Optional external system ID

    id: string

    [Read-only] Internal ID

    name: string

    Deal name/title

    notes?: string

    Freeform notes

    number?: string

    Deal number/code

    status?: string

    Status (e.g. Open, Won, Lost)

    total?: number

    Deal total value

    updated: string

    [Read-only] Last-updated timestamp