ETASCOM CRM V3 - Documentation API
    Preparing search index...
    interface ClientResponse {
        id: string;
        code: string;
        name: string;
        type: "CUSTOMER" | "PROSPECT";
        isLead?: boolean;
        phone?: string;
        phonePrefix?: string;
        phoneType?: string;
        email?: string;
        website?: string;
        language?: string;
        logo?: string;
        isActive: boolean;
        currencyId?: string;
        currency?: { id: string; code: string; name: string; symbol: string };
        paymentMethod?:
            | "VIREMENT"
            | "CHEQUE"
            | "TRAITE"
            | "ESPECE"
            | "PRELEVEMENT"
            | "CARTE"
            | "AUTRE";
        paymentTermsDays?: number;
        isSupplier?: boolean;
        isClient?: boolean;
        isTransporter?: boolean;
        isParentPartner?: boolean;
        isCompetitor?: boolean;
        parentClientId?: string;
        parentClient?: { id: string; code: string; name: string };
        canOrder?: boolean;
        canBeDelivered?: boolean;
        canBeInvoiced?: boolean;
        canPay?: boolean;
        paymentOnOrder?: boolean;
        paymentTerms?: string;
        paymentBeforeDelivery?: boolean;
        discountManagement?: boolean;
        salespersonId?: string;
        salesperson?: { id: string; name: string; email?: string };
        taxIncluded?: boolean;
        deliveryProgram?: boolean;
        incompleteDeliveryAllowed?: boolean;
        ourNumberAtClient?: string;
        backordersAllowed?: boolean;
        conformityCertificate?: boolean;
        blockShipment?: boolean;
        clientDeliveryTime?: number;
        useIncotermForStandardRanges?: boolean;
        salesIncoterm?: string;
        invoiceShippingCosts?: string;
        freightForwarder?: string;
        noteOnPreparationSlip?: string;
        noteOnDeliveryNote?: string;
        noteOnShippingSlip?: string;
        notes?: string;
        createdAt: string;
        updatedAt: string;
        addresses?: {
            id: string;
            type: "OTHER" | "BILLING" | "SHIPPING";
            name: string;
            street: string;
            city: string;
            state?: string;
            postalCode: string;
            country: string;
            isDefault: boolean;
        }[];
        contacts?: {
            id: string;
            firstName: string;
            lastName: string;
            position?: string;
            email?: string;
            phone?: string;
            mobile?: string;
            isDefault: boolean;
        }[];
        legalIdentifiers?: {
            id: string;
            type: "OTHER"
            | "ICE"
            | "RC"
            | "SIRET"
            | "DUNS"
            | "VAT";
            value: string;
            country?: string;
            isActive: boolean;
        }[];
    }
    Index

    Properties

    id: string
    code: string
    name: string
    type: "CUSTOMER" | "PROSPECT"
    isLead?: boolean
    phone?: string
    phonePrefix?: string
    phoneType?: string
    email?: string
    website?: string
    language?: string
    logo?: string
    isActive: boolean
    currencyId?: string
    currency?: { id: string; code: string; name: string; symbol: string }
    paymentMethod?:
        | "VIREMENT"
        | "CHEQUE"
        | "TRAITE"
        | "ESPECE"
        | "PRELEVEMENT"
        | "CARTE"
        | "AUTRE"
    paymentTermsDays?: number
    isSupplier?: boolean
    isClient?: boolean
    isTransporter?: boolean
    isParentPartner?: boolean
    isCompetitor?: boolean
    parentClientId?: string
    parentClient?: { id: string; code: string; name: string }
    canOrder?: boolean
    canBeDelivered?: boolean
    canBeInvoiced?: boolean
    canPay?: boolean
    paymentOnOrder?: boolean
    paymentTerms?: string
    paymentBeforeDelivery?: boolean
    discountManagement?: boolean
    salespersonId?: string
    salesperson?: { id: string; name: string; email?: string }
    taxIncluded?: boolean
    deliveryProgram?: boolean
    incompleteDeliveryAllowed?: boolean
    ourNumberAtClient?: string
    backordersAllowed?: boolean
    conformityCertificate?: boolean
    blockShipment?: boolean
    clientDeliveryTime?: number
    useIncotermForStandardRanges?: boolean
    salesIncoterm?: string
    invoiceShippingCosts?: string
    freightForwarder?: string
    noteOnPreparationSlip?: string
    noteOnDeliveryNote?: string
    noteOnShippingSlip?: string
    notes?: string
    createdAt: string
    updatedAt: string
    addresses?: {
        id: string;
        type: "OTHER" | "BILLING" | "SHIPPING";
        name: string;
        street: string;
        city: string;
        state?: string;
        postalCode: string;
        country: string;
        isDefault: boolean;
    }[]
    contacts?: {
        id: string;
        firstName: string;
        lastName: string;
        position?: string;
        email?: string;
        phone?: string;
        mobile?: string;
        isDefault: boolean;
    }[]
    legalIdentifiers?: {
        id: string;
        type: "OTHER" | "ICE" | "RC" | "SIRET" | "DUNS" | "VAT";
        value: string;
        country?: string;
        isActive: boolean;
    }[]