Skip to main content
POST
/
stores
/
{storeId}
/
events
/
bulk
Bulk create custom events
curl --request POST \
  --url https://api.getredo.com/v2.2/stores/{storeId}/events/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "events": [
    {
      "eventName": "User Registered",
      "customer": {
        "email": "alice@example.com"
      },
      "data": {
        "Plan Type": "premium"
      }
    },
    {
      "eventName": "Purchase Completed",
      "customer": {
        "email": "bob@example.com"
      },
      "data": {
        "Order Total": 99.99,
        "Item Count": 3
      },
      "value": 99.99,
      "valueCurrency": "USD",
      "uniqueId": "order-456"
    }
  ]
}
'
{
  "detail": "<string>",
  "instance": "<string>",
  "title": "<string>",
  "type": "about:blank"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

storeId
string
required

Store ID

Example:

"64e5a8a1af49a89df37e4ee7"

Body

application/json

Request body for sending multiple custom events in a single request.

events
Custom Event Request · object[]
required

Array of custom events to create.

Required array length: 1 - 100 elements

Response

Bulk request accepted and queued for processing. No response body is returned.