Index events

Overview

Webhook events related to indexing data.

Available events

Event typeEvent schema
index-item.updated
Copy
Copied
{
  "availability": "Object",
  "available": "Boolean",
  "categoryAssignments": ["Object"],
  "code": "String",
  "id": "String",
  "medias": [
    {"Object"}
  ],
  "mixins": "Object",
  "popularity": "Number",
  "prices": [
    {
      "currency": "String",
      "effectiveAmount": "Number",
      "id": "String",
      "itemId": {
        "id": "String",
        "itemType": "String",
        "name": {"Object"}
      },
      "location": {
        "countryCode": "String"
      }
      "originalAmount": "Number",
      "priceModel": {
        "description": {"Map"},
        "id": "String",
        "includesTax": "Boolean",
        "measurementUnit": {
          "quantity": "Integer",
          "unitCode": "String"
        },
        "name": {"Object"},
        "tierDefinition":{
          "tierType": "String",
          "tiers": [
            {
              "id": "String",
              "minQuantity": {
                "quantity": "Integer",
                "unitCode": "String"
              }
            }
          ]
        }
      },
      "priceModelId": "String",
      "restrictions": {
        "siteCodes": ["String"]
      },
      "siteCode": "String",
      "tierValues": [
        {
          "id": "String",
          priceValue": "Number"
        }
      ]
    }
  ],
  "published": "Boolean",
  "siteCode": "String",
  "tags": ["String"]
}
index-item.deleted
Copy
Copied
{
  "id": "String",
  "siteCode": "String"
}