Pike13 For Developers
Get Started
Authentication
Core API
Reporting API
Webhooks API
Announcements

Webhooks API Documentation

Plan Hold

Resource Attributes

data.plan_holds[0]
idintegerID of the plan hold.
start_datedateDate the plan hold starts.
end_datedateDate the plan hold ends.
plan_idintegerID of the associated plan.
created_attimestampTimestamp for when the plan hold was created.
updated_attimestampTimestamp for when the plan hold was last updated.

plan_hold.created

Triggers whenever a new plan hold is created.

Payload Example

Plan Hold Created Webhook Payload

{
  "topic": "plan_hold.created",
  "business_id": 2,
  "webhook_id": 5,
  "data": {
    "plan_holds": [
      {
        "id": 123,
        "start_date": "2020-07-03",
        "end_date": "2020-07-06",
        "plan_id": 406,
        "created_at": "2020-07-02T19:01:27Z",
        "updated_at": "2020-07-02T19:01:27Z"
      }
    ]
  }
}

plan_hold.updated

Triggers whenever a plan hold is updated.

Payload Example

Plan Hold Updated Webhook Payload

{
  "topic": "plan_hold.updated",
  "business_id": 2,
  "webhook_id": 9,
  "data": {
    "plan_holds": [
      {
        "id": 168,
        "start_date": "2020-07-08",
        "end_date": "2020-07-09",
        "plan_id": 282,
        "created_at": "2020-07-09T20:32:55Z",
        "updated_at": "2020-07-10T20:33:45Z"
      }
    ],
    "previous": {
      "end_date": null,
      "updated_at": "2020-07-09T20:32:55Z"
    }
  }
}

plan_hold.deleted

Triggers whenever a plan hold is deleted.

Payload Example

Plan Hold Deleted Webhook Payload

{
  "topic": "plan_hold.deleted",
  "business_id": 2,
  "webhook_id": 8,
  "data": {
    "plan_holds": [
      {
        "id": 75,
        "start_date": "2020-06-09",
        "end_date": "2020-06-10",
        "plan_id": 303,
        "created_at": "2020-06-09T20:42:38Z",
        "updated_at": "2020-06-11T03:41:58Z"
      }
    ]
  }
}