Skip to main content
POST
/
v2
/
create-events
Create Events V2
curl --request POST \
  --url 'https://api.example.com/v2/create-events?api_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tenant": "<string>",
  "market": "<string>",
  "events": [
    {
      "transaction_id": "<string>",
      "user_id": "<string>",
      "session_id": "<string>",
      "dsid": "<string>",
      "event_type": "<unknown>"
    }
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.depict.ai/llms.txt

Use this file to discover all available pages before exploring further.

This page does not apply to installs made in 2025 or later of the Depict Shopify apps

Authorizations

api_key
string
query
required

Body

application/json
tenant
string
required

Identifier associated with the API integration

Minimum string length: 1
market
string
required

Market identifier

Minimum string length: 1
events
(UserTransactionMappingEvent · object | PurchaseEvent · object | ProductUnavailableEvent · object)[]
required

Response

Successful Response