Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Shopify App Bridge session token of the embedded Depict: Search & Merchandising app. The shop in the token determines the merchant; merchant_id parameters must belong to that shop.

Query Parameters

merchant_id
string
required

Lite merchant id, e.g. shopify-<shop id>.

Body

application/json
type
string
required

The PostHog event name, e.g. collection_opened. Sent verbatim as the event.

payload
object
required

Event properties: string, string-list or null values only. The request's PostHog-Session-ID and Referer headers are merged over it as $session_id / $referrer.

Response

Accepted; the event is sent behind the response.