Skip to main content
WEBHOOK
unit.updated
{
  "event": {
    "id": "<string>",
    "type": "<unknown>",
    "api_version": "2025-09",
    "created_at": "2023-11-07T05:31:56Z",
    "data": {
      "unit": {
        "id": "<string>",
        "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>"
          }
        },
        "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": {}
        },
        "reference_id": "<string>",
        "status": "available",
        "unit_allocation": {
          "id": "<string>",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "reserved_at": "2023-11-07T05:31:56Z",
          "granted_access_at": "2023-11-07T05:31:56Z",
          "unit": "<unknown>",
          "tenancy": {
            "id": "<string>",
            "starts_at": "2023-11-07T05:31:56Z",
            "ends_at": "2023-11-07T05:31:56Z",
            "created_at": "2023-11-07T05:31:56Z",
            "updated_at": "2023-11-07T05:31:56Z",
            "subscription": {
              "id": "<string>",
              "starts_at": "2023-11-07T05:31:56Z",
              "ends_at": "2023-11-07T05:31:56Z",
              "created_at": "2023-11-07T05:31:56Z",
              "updated_at": "2023-11-07T05:31:56Z",
              "current_period": {
                "starts_at": "2023-11-07T05:31:56Z",
                "ends_at": "2023-11-07T05:31:56Z"
              },
              "stripe_subscription_id": "<string>",
              "cancelled": true,
              "cancellation_reason": "move_out_not_needed",
              "stripe_subscription_schedule_id": "<string>",
              "contact": {
                "id": "<string>",
                "address": "<unknown>",
                "email": "jsmith@example.com",
                "full_name": "<string>",
                "marketing_source": "used_before",
                "phone_number": "<string>",
                "source": "pre_open",
                "tax_id": "<string>",
                "company_registration_number": "<string>",
                "type": "domestic",
                "use_case": "business_needs",
                "metadata": {},
                "stripe_customer_id": "<string>",
                "tenancies_count": 123,
                "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>"
                }
              },
              "order": {
                "id": "<string>",
                "billing_period": "monthly",
                "contact": {
                  "id": "<string>",
                  "address": "<unknown>",
                  "email": "jsmith@example.com",
                  "full_name": "<string>",
                  "marketing_source": "used_before",
                  "phone_number": "<string>",
                  "source": "pre_open",
                  "tax_id": "<string>",
                  "company_registration_number": "<string>",
                  "type": "domestic",
                  "use_case": "business_needs",
                  "metadata": {},
                  "stripe_customer_id": "<string>",
                  "tenancies_count": 123,
                  "created_at": "2023-11-07T05:31:56Z",
                  "updated_at": "2023-11-07T05:31:56Z"
                },
                "source": "backoffice",
                "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>"
                  }
                },
                "tenancy": "<unknown>",
                "subscription": "<unknown>",
                "contract_template": {
                  "id": "<string>",
                  "name": "<string>",
                  "created_at": "2023-11-07T05:31:56Z",
                  "updated_at": "2023-11-07T05:31:56Z"
                },
                "coupon": {
                  "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"
                },
                "email_notifications": {
                  "booking_confirmation": true,
                  "move_in_day": true
                },
                "metadata": {},
                "line_items": [
                  {
                    "id": "<string>",
                    "item": {
                      "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": {}
                    },
                    "price": {
                      "amount": 123,
                      "currency": "AED",
                      "formatted": "<string>"
                    },
                    "quantity": 123,
                    "type": "unit_type",
                    "created_at": "2023-11-07T05:31:56Z",
                    "updated_at": "2023-11-07T05:31:56Z",
                    "total": {
                      "amount": 123,
                      "currency": "AED",
                      "formatted": "<string>"
                    },
                    "tax": {
                      "amount": 123,
                      "currency": "AED",
                      "formatted": "<string>"
                    },
                    "total_excluding_tax": {
                      "amount": 123,
                      "currency": "AED",
                      "formatted": "<string>"
                    },
                    "discount_total": {
                      "amount": 123,
                      "currency": "AED",
                      "formatted": "<string>"
                    }
                  }
                ],
                "payment_method": "<string>",
                "payment_url": "<string>",
                "purchase_order_number": "<string>",
                "starts_at": "<string>",
                "status": "draft",
                "created_at": "2023-11-07T05:31:56Z",
                "updated_at": "2023-11-07T05:31:56Z",
                "tax": {
                  "amount": 123,
                  "currency": "AED",
                  "formatted": "<string>"
                },
                "subtotal": {
                  "amount": 123,
                  "currency": "AED",
                  "formatted": "<string>"
                },
                "total": {
                  "amount": 123,
                  "currency": "AED",
                  "formatted": "<string>"
                },
                "total_excluding_tax": {
                  "amount": 123,
                  "currency": "AED",
                  "formatted": "<string>"
                },
                "total_discount": {
                  "amount": 123,
                  "currency": "AED",
                  "formatted": "<string>"
                },
                "one_time_total": {
                  "amount": 123,
                  "currency": "AED",
                  "formatted": "<string>"
                },
                "one_time_total_excluding_tax": {
                  "amount": 123,
                  "currency": "AED",
                  "formatted": "<string>"
                }
              },
              "tenancy": "<unknown>",
              "billing_period": "monthly",
              "line_items": [
                {
                  "item": {
                    "id": "<string>"
                  },
                  "price": {
                    "amount": 123,
                    "currency": "AED",
                    "formatted": "<string>"
                  },
                  "quantity": 123,
                  "type": "protection",
                  "created_at": "2023-11-07T05:31:56Z",
                  "updated_at": "2023-11-07T05:31:56Z"
                }
              ]
            },
            "contact": {
              "id": "<string>",
              "address": "<unknown>",
              "email": "jsmith@example.com",
              "full_name": "<string>",
              "marketing_source": "used_before",
              "phone_number": "<string>",
              "source": "pre_open",
              "tax_id": "<string>",
              "company_registration_number": "<string>",
              "type": "domestic",
              "use_case": "business_needs",
              "metadata": {},
              "stripe_customer_id": "<string>",
              "tenancies_count": 123,
              "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>"
              }
            },
            "order": {
              "id": "<string>",
              "billing_period": "monthly",
              "contact": {
                "id": "<string>",
                "address": "<unknown>",
                "email": "jsmith@example.com",
                "full_name": "<string>",
                "marketing_source": "used_before",
                "phone_number": "<string>",
                "source": "pre_open",
                "tax_id": "<string>",
                "company_registration_number": "<string>",
                "type": "domestic",
                "use_case": "business_needs",
                "metadata": {},
                "stripe_customer_id": "<string>",
                "tenancies_count": 123,
                "created_at": "2023-11-07T05:31:56Z",
                "updated_at": "2023-11-07T05:31:56Z"
              },
              "source": "backoffice",
              "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>"
                }
              },
              "tenancy": "<unknown>",
              "subscription": "<unknown>",
              "contract_template": {
                "id": "<string>",
                "name": "<string>",
                "created_at": "2023-11-07T05:31:56Z",
                "updated_at": "2023-11-07T05:31:56Z"
              },
              "coupon": {
                "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"
              },
              "email_notifications": {
                "booking_confirmation": true,
                "move_in_day": true
              },
              "metadata": {},
              "line_items": [
                {
                  "id": "<string>",
                  "item": {
                    "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": {}
                  },
                  "price": {
                    "amount": 123,
                    "currency": "AED",
                    "formatted": "<string>"
                  },
                  "quantity": 123,
                  "type": "unit_type",
                  "created_at": "2023-11-07T05:31:56Z",
                  "updated_at": "2023-11-07T05:31:56Z",
                  "total": {
                    "amount": 123,
                    "currency": "AED",
                    "formatted": "<string>"
                  },
                  "tax": {
                    "amount": 123,
                    "currency": "AED",
                    "formatted": "<string>"
                  },
                  "total_excluding_tax": {
                    "amount": 123,
                    "currency": "AED",
                    "formatted": "<string>"
                  },
                  "discount_total": {
                    "amount": 123,
                    "currency": "AED",
                    "formatted": "<string>"
                  }
                }
              ],
              "payment_method": "<string>",
              "payment_url": "<string>",
              "purchase_order_number": "<string>",
              "starts_at": "<string>",
              "status": "draft",
              "created_at": "2023-11-07T05:31:56Z",
              "updated_at": "2023-11-07T05:31:56Z",
              "tax": {
                "amount": 123,
                "currency": "AED",
                "formatted": "<string>"
              },
              "subtotal": {
                "amount": 123,
                "currency": "AED",
                "formatted": "<string>"
              },
              "total": {
                "amount": 123,
                "currency": "AED",
                "formatted": "<string>"
              },
              "total_excluding_tax": {
                "amount": 123,
                "currency": "AED",
                "formatted": "<string>"
              },
              "total_discount": {
                "amount": 123,
                "currency": "AED",
                "formatted": "<string>"
              },
              "one_time_total": {
                "amount": 123,
                "currency": "AED",
                "formatted": "<string>"
              },
              "one_time_total_excluding_tax": {
                "amount": 123,
                "currency": "AED",
                "formatted": "<string>"
              }
            },
            "unit_allocations": "<array>"
          }
        },
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    },
    "meta": {
      "curies": "<unknown>"
    }
  }
}

Body

application/json

Unit Updated Webhook Body

event
object

Response

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