LISTING_UNPUBLISHED_FROM_CHANNEL

When a listing is un-published in EverReal, the below payload is submitted as a notification.

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


interface IListingUnpublishedAction{
  id: string;
  title: string;
  companyId: string;
  type: LISTING_TYPE;
  channels: {
    type: string;
    internalId: string;
    status?: string;
    placementType?: {
      type: string;
      createdAt: string;
    };
    isTypeInvestment?: boolean;
  }[];
  listingResponsible: {
    id: string;
    email: string;
  };
}

Last updated