Availability Service events

Overview

Webhook events related to the creation, update, and deletion of an availability.

Available events

Event typeEvent schema
availability.created
Copy
Copied
{
  "available": "Boolean",
  "distributionChannel": "String",
  "id": "String",
  "metadata": {
    "createdAt": "String",
    "modifiedAt": "String",
    "mixins": "Object"
  },
  "mixins": "Object",
  "popularity": "Number",
  "productId": "String",
  "site": "String",
  "stockLevel": "Number"
}
availability.updated
Copy
Copied
{
  "available": "Boolean",
  "distributionChannel": "String",
  "id": "String",
  "metadata": {
    "createdAt": "String",
    "mixins": "Object",
    "modifiedAt": "String"
  },
  "mixins": "Object",
  "popularity": "Number",
  "productId": "String",
  "site": "String",
  "stockLevel": "Number"  
}
availability.deleted
Copy
Copied
{
  "id": "String"
}