Store Integrations

Replace AI-referred store orders for a window

Changed on

Replaces the daily AI-referred orders and revenue of the from..to window. Send the raw referring host or utm_source of each order's first visit as referrer: LLM Pulse classifies it and ignores anything that is not an AI assistant. Entries for the same day and assistant are summed. Every stored row of that project and platform inside the window is replaced, so pushing the same window again converges instead of counting twice. Rows are kept per project and platform, not per store, so one store reports per project. A pitch project takes no store data: pushing orders to one returns ERR_INVALID_PARAM. Requires a read_write scope API key and, for team members, update access to AI Traffic. Not available to accounts with a white-label portal or an embed (ERR_INTEGRATION_UNAVAILABLE).

put/ai_orders

Request

  • Base URL
    https://api.llmpulse.ai/api/v1
  • Auth
    API key in header Authorization

Request body

project_idinteger required
platform'shopify' required
currencystring required

ISO 4217 code, e.g. EUR

fromstring date required

First day of the window this push replaces

tostring date required

Last day of the window; at most 400 days after from

Response

Rows stored and entries ignored

project_idinteger required
platformstring required
storedinteger required

Rows stored, one per day and AI assistant

ignoredinteger required

Entries whose referrer is not an AI assistant

request_idstring required

Changes