← Tools Reference

Triple Whale

Triple Whale integration (Data, Marketing). Imported from open-connector.

API key4 toolshttps://api.triplewhale.com/api/v2
GET
triple_whale_validate_api_key
Validate the connected Triple Whale API key and return its metadata when present.

/users/api-keys/me

POST
triple_whale_get_summary_page_data
Retrieve Triple Whale Summary Page metrics for a store and date period.

/summary-page/get-data

3 parameters
ParamTypeRequiredDescription
shopDomainstringrequiredThe Shopify shop domain for the Triple Whale store, for example example.myshopi…
periodobjectrequiredThe Summary Page date range to request.
todayHourintegeroptional
POST
triple_whale_execute_custom_sql_query
Execute a Triple Whale Data-Out custom SQL query for a store and date period.

/orcabase/api/sql

4 parameters
ParamTypeRequiredDescription
shopIdstringrequiredThe Shopify shop domain for the Triple Whale store, for example example.myshopi…
querystringrequiredThe SQL query to execute with @startDate and @endDate parameters.
periodobjectrequiredThe Custom SQL query date range.
currencystringoptionalThe currency code for data aggregation, such as USD or EUR.
POST
triple_whale_get_customer_journey_attribution_data
Export Triple Whale customer journey attribution data for orders in a date period.

/attribution/get-orders-with-journeys-v2

6 parameters
ParamTypeRequiredDescription
shopstringrequiredThe Shopify shop domain for the Triple Whale store, for example example.myshopi…
startDatestringrequiredThe start timestamp for the requested attribution period.
endDatestringrequiredThe end timestamp for the requested attribution period.
pageintegeroptionalThe page number of results to return, starting from 1.
pageSizeintegeroptionalThe number of results per page.
excludeJourneyDatabooleanoptionalWhether to exclude detailed journey events from each order result.