BigCommerce · Schema

store/category/deleted

Fires when a category is deleted. ```json filename="Example callback object" showLineNumbers { "created_at": 1561482670, "store_id": "1025646", "producer": "stores/{store_hash}", "scope": "store/category/deleted", "hash": "352e4afc6dd3fc85ea26bfdf3f91852604d57528", "data": { "type": "category", "id": "42" } } ```

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS
View JSON Schema on GitHub

JSON Schema

bigcommerce-store-category-deleted-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/store_category_deleted",
  "title": "store/category/deleted",
  "description": "Fires when a category is deleted.\n\n```json filename=\"Example callback object\" showLineNumbers\n{\n  \"created_at\": 1561482670,\n  \"store_id\": \"1025646\",\n  \"producer\": \"stores/{store_hash}\",\n  \"scope\": \"store/category/deleted\",\n  \"hash\": \"352e4afc6dd3fc85ea26bfdf3f91852604d57528\",\n  \"data\": {\n    \"type\": \"category\",\n    \"id\": \"42\"\n  }\n}\n```",
  "allOf": [
    {
      "$ref": "#/components/schemas/webhook_callback_base"
    },
    {
      "description": "A lightweight description of the event that triggered the webhook. Will vary depending on the event registered.",
      "properties": {
        "data": {
          "type": "object",
          "description": "A lightweight description of the event that triggered the webhook. Will vary depending on the event registered.",
          "properties": {
            "type": {
              "type": "string",
              "description": "The type will always be `category`.",
              "default": "category",
              "example": "category"
            },
            "id": {
              "type": "integer",
              "description": "ID of the category",
              "example": 42
            }
          }
        }
      }
    }
  ],
  "x-tags": [
    "deleted"
  ],
  "type": "object",
  "x-internal": false
}