@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";
        closed?: DateContainer;
        created: DateContainer;
        currency?: string;
        customerid: string;
        exported?: DateContainer;
        externalid?: string;
        id: string;
        name: string;
        notes?: string;
        number?: string;
        opened?: DateContainer;
        rating?: number;
        stage?: number;
        status?: string;
        territoryid?: string;
        total?: number;
        updated: DateContainer;
    }
    Index

    Properties

    active: "0" | "1"

    ‘1’ if active, else ‘0’

    closed?: DateContainer

    [Read-only] When this deal was closed

    created: DateContainer

    [Read-only] Created timestamp

    currency?: string

    Currency code

    customerid: string

    Customer associated with the deal

    exported?: DateContainer

    [Read-only] Date and time the deal was marked as exported

    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

    opened?: DateContainer

    [Read-only] When this deal was first opened

    rating?: number

    The rating for this deal

    stage?: number

    The current stage % complete

    status?: string

    Status (O=Open, C=Closed, L=Lost)

    territoryid?: string

    Territory for the deal

    total?: number

    Deal total value

    updated: DateContainer

    [Read-only] Last-updated timestamp