Skip to content
Changelog

Report a bug

Triple Whale integration: operations for AI agents

Triple Whale connects to Type.com as an integration. This page lists the 17 operations documented for Claude and Codex in Type.com: 4 read, 12 write, 1 destructive.

About Triple Whale

Triple Whale is an ecommerce analytics and marketing-attribution platform (with the Moby AI assistant) whose v2 API exposes blended metrics, customer-journey attribution, and SQL or natural-language query results.

Categories: Analytics & Data, Commerce & Payments

How to connect Triple Whale to Type.com

Connect
API key
Access
Organization connection: one shared account for the workspace.

To add the connection, follow the steps in Space connections.

Documented operations

17 operations. Your connection's permissions determine which operations are available. API references describe the vendor surface; they do not expand your connection's credentials or access.

Data ingestion and privacy

  • Write

    Create Email/SMS Record

    Ingest email, SMS, and direct mail marketing data into Triple Whale. This endpoint accepts campaign, flow, and message attributes together with performance metrics. The data populates the Email/SMS and Email/SMS Settings tables alongside the merchant's other email/SMS providers. Send attributes when your structure changes and metrics on your reporting cadence; both can be sent in the same call or separately.

    POST /data-in/email-sms

  • Write

    Create Order Record

    Ingest order data into Triple Whale for Custom Sales Platforms. This endpoint allows users to upload detailed order information, including customer details, product information, transaction totals, discounts, refunds, and shipping details.

    POST /data-in/orders

  • Write

    Create Post-Purchase Survey (PPS) Record

    Ingest PPS data into Triple Whale. This endpoint allows users to upload detailed post-purchase survey information, including order-related data, questions, and responses.

    POST /data-in/pps

  • Write

    Create Subscription Record

    Ingest subscription data into Triple Whale. This endpoint allows users to upload detailed subscription information, including customer details, items, status, and metadata.

    POST /data-in/subscriptions

  • Write

    Bulk Create Order Records

    Ingest multiple order records into Triple Whale for Custom Sales Platforms. This endpoint allows users to upload batches of order information, including customer details, product information, transaction totals, discounts, refunds, and shipping details.

    POST /data-in/bulk-orders

  • Write

    Enrich Products Data

    Use this endpoint to enrich existing products—such as adding cost data from external systems. Supported for data from platforms with a native Triple Whale integration (e.g., Shopify, BigCommerce, WooCommerce). Not supported for Custom Sales Platforms—to update these, resend the full product record via the [Products](https://triplewhale.readme.io/reference/create-product-record) endpoint.

    POST /data-in/products-enrichment

  • Write

    Enrich Orders Data

    Use this endpoint to enrich existing orders—such as adding shipping costs or custom tags. Note: Supported for data from platforms with a native Triple Whale integration (e.g., Shopify, BigCommerce, WooCommerce). Not supported for Custom Sales Platforms—to update these, resend the full order via the [Orders](https://triplewhale.readme.io/reference/create-order-record) endpoint.

    POST /data-in/orders-enrichment

  • Write

    Create Customer Record

    Ingest customer data into Triple Whale. This endpoint allows users to upload detailed customer information — including contact details, address, consent status, and purchase history metadata.

    POST /data-in/customers

  • Write

    Create Ad Record

    Ingest ad data into Triple Whale. This endpoint allows users to upload detailed ad information, including campaign, adset, ad details, and performance metrics.

    POST /data-in/ads

  • Write

    Enrich Pixel With Offline Events

    Send offline or server-side Pixel events—such as leads, MQLs, SQLs, opportunities, book-a-demo events, or fully custom events—into Triple Whale. Rate limit is 1,000 events/min. Max payload is 3 KB. When `type = custom`, you can add additional properties of type **Number, Float, String, Boolean, or Date**.

    POST /data-in/event

  • Write

    Create Product Record

    Ingest product data into Triple Whale. This endpoint allows users to upload detailed product information, including variants, tags, collections, and images.

    POST /data-in/products

  • Destructive

    Create Compliance Data Deletion Request

    Create a compliance request to delete/mask customer PII for a shop using one or more identifiers (emails and/or phone numbers).

    POST /compliance/requests/create-request

Analytics and key validation

  • Read

    Execute Custom SQL Query

    Run custom SQL queries for structured data retrieval. The response returns the query results in a JSON format.

    POST /orcabase/api/sql

  • Read

    Get Customer Journey Attribution Data

    Export full customer journey data, with Triple Pixel attribution, for all customers who placed an order in the specified period.

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

  • Read

    Validate Your Triple Whale API Key

    Enter your API key in Credentials > Header to the right and click "Try it!" to test its validity.

    GET /users/api-keys/me

  • Read

    Get Summary Page Data

    Retrieve data from the Summary Page for a specified time period.

    POST /summary-page/get-data

Historical catalog reference

  • Write

    POST /orcabase/api/moby

    Execute a natural-language analytics query via Moby AI.

    POST /orcabase/api/moby

Get started

  1. Open Space settings → Connections and search for Triple Whale.
  2. Connect your account and add the connection to the Space.
  3. Ask for what you need in any thread in that Space.

See How connections work for access and permissions, or browse all integrations.