Hi, You might find the following wiki useful
You can also get deals by status (deleted, all_not_deleted ) https://developers.pipedrive.com/docs/api/v1/Deals#getDeals
deleted
all_not_deleted