Events - Product
Webhook events related to the creation, update, and deletion of a product.
Available events
Event type
Event schema
product.created
{
  "id": "String",
  "code": "String",
  "name": "Map",
  "description": "Map",
  "productType": "String",
  "taxClasses": "Map",
  "published": "Boolean",
  "template": {
    "id": "String",
    "version": "Integer"
  },
  "media": [
    {
      "id": "String",
      "mediaId": "String",
      "url": "String",
      "commitLink": "String",
      "contentType": "String",
      "stored": "Boolean",
      "createdAt": "String",
      "customAttributes": "Map",
      "tags": [
        "String"
      ],
      "uncommittedMedia": "Boolean",
      "uploadLink": "String"
    }
  ],
  "bundledProducts": [
    {
      "productId": "String",
      "amount": "Integer"
    }
  ],
  "relatedItems": [
    {
      "refId": "String",
      "type": "String"
    }
  ],
  "mixins": "Map",
  "metadata": {
    "version": "Number",
    "createdAt": "String",
    "modifiedAt": "String"
  }
}product.updated
{
  "id": "String",
  "code": "String",
  "name": "Map",
  "description": "Map",
  "productType": "String",
  "taxClasses": "Map",
  "published": "Boolean",
  "template": {
    "id": "String",
    "version": "Integer"
  },
  "media": [
    {
      "id": "String",
      "mediaId": "String",
      "url": "String",
      "commitLink": "String",
      "contentType": "String",
      "stored": "Boolean",
      "createdAt": "String",
      "customAttributes": "Map",
      "tags": [
        "String"
      ],
      "uncommittedMedia": "Boolean",
      "uploadLink": "String"
    }
  ],
  "bundledProducts": [
    {
      "productId": "String",
      "amount": "Integer"
    }
  ],
  "relatedItems": [
    {
      "refId": "String",
      "type": "String"
    }
  ],
  "mixins": "Map",
  "metadata": {
    "version": "Number",
    "createdAt": "String",
    "modifiedAt": "String"
  }
}product.deleted
{
  "id": "String"
}Last updated
Was this helpful?

