Get a list of all deals, including a set of properties

get_deals(apikey = "demo", properties = get_deal_properties(apikey),
  property_history = "true", associations = "true", max_iter = 10,
  max_properties = 100)

Arguments

apikey

API key to work with Hubspot

properties

Character vector of properties to request

property_history

Whether version history for properties should be returned

associations

Retrieve links to other entities

max_iter

The API is limited to 250 responses, use max_iter to limit how many pages of data will get returned

max_properties

Avoid URLs that are too long, limit the number of properties returned, if required.

Value

List with deals data

See also

Examples

deals <- get_deals(property_history = "false", max_iter = 1, max_properties = 10)