LISTING_UPDATED

When listing details are updated in EverReal, the below payload is submitted as a notification.


interface IWebhookDispatcher<IListingCreatedAction> {
  uuid: string;
  operation: string;
  subdomain: string;
  language: string;
  createdAt: Date;
  data: IListingCreatedAction;
}


interface IListingCreatedAction {
  id: string;
  title: string;
  companyId: string;
  type: LISTING_TYPE;
  listingResponsible: {
    id: string;
    email: string;
  };
  property: {
    id: string;
    objectId: string;
    type: PROPERTY_TYPE;
    address: {
      zip: string;
      city: string;
      streetNumber: string;
      streetName: string;
      placeId: string;
      location?: {
        lat?: number;
        lng?: number;
      };
    };
  };
  unit: {
    id: string;
    objectId: string;
    name: string;
    type: UNIT_TYPE;
  };
  contractDetails?: {
    currency?: CURRENCY_TYPE;
    rent?: number;
    totalMonthlyRent?: number;
    parkingRent?: number;
    deposit?: number;
    heatingCostsIncluded?: boolean;
    utilityCosts?: number;
    heatingCosts?: number;
    petsAllowed?: string;
    displayAmount?: number;
    hasCommission?: boolean;
    commission?: number;
    commissionNote?: string;
  };
}

Last updated