Events - Availability
Webhook events related to the creation, update, and deletion of an availability.
Available events
Event type
Event schema
availability.created
{
  "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
{
  "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
{
  "id": "String"
}Last updated
Was this helpful?

