Skip to main content
WEBHOOK
unit_type.updated
{
  "event": {
    "id": "<string>",
    "type": "<unknown>",
    "api_version": "2025-09",
    "created_at": "2023-11-07T05:31:56Z",
    "data": {
      "unit_type": {
        "id": "<string>",
        "name": "<string>",
        "status": "bookable",
        "slug": "<string>",
        "size_description": "<string>",
        "selling_points": [
          "<string>"
        ],
        "stripe_product_id": "<string>",
        "require_insurance_coverage": true,
        "require_security_deposit": true,
        "promotion": {
          "type": "<unknown>",
          "id": "<string>",
          "percent": 123,
          "name": "<string>",
          "code": "<string>",
          "title": "<string>",
          "public": true,
          "max_redemptions": 123,
          "duration": "once",
          "billing_period": "monthly",
          "months": 123,
          "auto_apply_to": {
            "unit_types": true,
            "protections": true,
            "products": true,
            "subscriptions": true
          },
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z"
        },
        "site": {
          "id": "<string>",
          "name": "<string>",
          "description": "<string>",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "phone": "<string>",
          "opened_at": "2023-11-07T05:31:56Z",
          "directions": {
            "google_maps_url": "<string>"
          },
          "images": {
            "default": {
              "original": "<string>",
              "small": "<string>",
              "medium": "<string>",
              "large": "<string>"
            }
          },
          "access_hours": {
            "monday": {
              "status": "set_hours",
              "open": "<string>",
              "close": "<string>"
            },
            "tuesday": {
              "status": "set_hours",
              "open": "<string>",
              "close": "<string>"
            },
            "wednesday": {
              "status": "set_hours",
              "open": "<string>",
              "close": "<string>"
            },
            "thursday": {
              "status": "set_hours",
              "open": "<string>",
              "close": "<string>"
            },
            "friday": {
              "status": "set_hours",
              "open": "<string>",
              "close": "<string>"
            },
            "saturday": {
              "status": "set_hours",
              "open": "<string>",
              "close": "<string>"
            },
            "sunday": {
              "status": "set_hours",
              "open": "<string>",
              "close": "<string>"
            }
          },
          "address": {
            "line_1": "<string>",
            "line_2": "<string>",
            "city": "<string>",
            "postal_code": "<string>"
          }
        },
        "dynamic_pricing": true,
        "dimensions": {
          "length": 123,
          "width": 123,
          "height": 123,
          "measurement_unit": "ft"
        },
        "security_deposit": {
          "amount": 123,
          "currency": "AED",
          "formatted": "<string>"
        },
        "images": {
          "default": {
            "original": "<string>",
            "small": "<string>",
            "medium": "<string>",
            "large": "<string>"
          }
        },
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "prices": [
          {
            "price": {
              "amount": 123,
              "currency": "AED",
              "formatted": "<string>"
            },
            "billing_period": "monthly",
            "stripe_price_id": "<string>"
          }
        ],
        "_links": {}
      }
    },
    "meta": {
      "curies": "<unknown>"
    }
  }
}

Body

application/json

Unit Type Updated Webhook Body

event
object

Response

Return a 2XX (200, 201, ...) status to indicate that the data was received successfully.