Here is the module output:
[
{
“pk”: 254031832,
“uuid”: “61da63c8-4528-4a3f-b102-d64796b9fdc4”,
“company”: {
“name”: “Santa Fe School of Cooking”,
“shortname”: “santafeschoolofcooking”,
“currency”: “usd”
},
“status”: “booked”,
“affiliate_company”: null,
“contact”: {
“name”: “John Michael Hailey”,
“phone”: “9018316311”,
“phone_country”: “US”,
“normalized_phone”: “+19018316311”,
“language”: “en-us”,
“email”: “johnmhailey@gmail.com”,
“is_subscribed_for_email_updates”: false
},
“display_id”: “#254031832”,
“external_id”: “”,
“order”: null,
“rebooked_from”: null,
“rebooked_to”: null,
“dashboard_url”: “FareHarbor”,
“created_at”: “2024-10-21T17:45:09+0000”,
“availability”: {
“pk”: 1502944081,
“start_at”: “2024-10-26T16:00:00.000Z”,
“end_at”: “2024-10-26T19:00:00.000Z”,
“capacity”: 46,
“minimum_party_size”: 1,
“maximum_party_size”: null,
“online_booking_status”: “auto”,
“customer_type_rates”: [
{
“pk”: 6210879742,
“capacity”: 46,
“minimum_party_size”: null,
“maximum_party_size”: null,
“customer_type”: {
“pk”: 782863,
“singular”: “Per Person”,
“plural”: “Per Person”,
“note”: “”
},
“customer_prototype”: {
“pk”: 1957050,
“display_name”: “Per Person”,
“note”: “”,
“total”: 10000,
“total_including_tax”: 10831
},
“total”: 10000,
“total_including_tax”: 10831,
“custom_field_instances”:
}
],
“item”: {
“pk”: 436037,
“name”: “Native American II- Demonstration class- trout with herbs and bacon baked in clay, Indian wild rice saute, sauteed rainbow chard, berry crisp.”
},
“headline”: “”,
“custom_field_instances”: [
{
“pk”: 6701490,
“custom_field”: {
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 1285996,
“type”: “yes-no”,
“is_required”: false,
“description”: “We will try our best to accommodate!”,
“description_safe_html”: “
We will try our best to accommodate!
”,
“name”: “Dietary Restrictions Y/N”,
“title”: “Check this box if anyone in your group have any dietary restrictions.”,
“booking_notes”: “”,
“booking_notes_safe_html”: “”
}
},
{
“pk”: 6701491,
“custom_field”: {
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 1286055,
“type”: “long”,
“is_required”: true,
“description”: “We will do our best to meet your needs!”,
“description_safe_html”: “
We will do our best to meet your needs!
”,
“name”: “Dietary Restrictions (Do Our Best)”,
“title”: “Please specify any dietary restrictions here.”,
“booking_notes”: “”,
“booking_notes_safe_html”: “”
}
},
{
“pk”: 6701492,
“custom_field”: {
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 1285995,
“type”: “short”,
“is_required”: false,
“description”: “”,
“description_safe_html”: “”,
“name”: “Group Seating”,
“title”: “Are you sitting with any other parties that have signed up separately? Please let us know their full name below.”,
“booking_notes”: “”,
“booking_notes_safe_html”: “”
}
},
{
“pk”: 7085934,
“custom_field”: {
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 1285131,
“type”: “extended-option”,
“is_required”: false,
“description”: “”,
“description_safe_html”: “”,
“name”: “How did you hear about us?”,
“title”: “How did you hear about us?”,
“booking_notes”: “”,
“booking_notes_safe_html”: “”,
“extended_options”: [
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921379,
“name”: “Internet search”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921380,
“name”: “Yelp”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921381,
“name”: “TripAdvisor”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921382,
“name”: “Google”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921383,
“name”: “Facebook”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921384,
“name”: “Instagram”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921385,
“name”: “Twitter”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921386,
“name”: “Friend”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921387,
“name”: “Word of mouth”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921388,
“name”: “Other”,
“description”: “”,
“description_safe_html”: “”
}
]
}
}
]
},
“customers”: [
{
“pk”: 746117315,
“checkin_url”: “
https://fhchk.co/OuDcf”,
“checkin_status”: null,
“invoice_cost”: {
“price”: null,
“tax”: 0,
“taxable”: 0,
“feeable”: 0,
“tax_by_type”: {},
“total”: 0
},
“total_cost”: {
“price”: 10000,
“tax”: 831,
“taxable”: 10000,
“feeable”: 10000,
“tax_by_type”: {
“73423”: 831
},
“total”: 10831
},
“customer_type_rate”: {
“pk”: 6210879742,
“capacity”: 46,
“minimum_party_size”: null,
“maximum_party_size”: null,
“customer_type”: {
“pk”: 782863,
“singular”: “Per Person”,
“plural”: “Per Person”,
“note”: “”
},
“customer_prototype”: {
“pk”: 1957050,
“display_name”: “Per Person”,
“note”: “”,
“total”: 10000,
“total_including_tax”: 10831
},
“total”: 10000,
“total_including_tax”: 10831
},
“custom_field_values”:
}
],
“invoice_price”: 0,
“invoice_price_display”: “0.00”,
“confirmation_url”: “
FareHarbor”,
“custom_field_values”: [
{
“pk”: 1049599920,
“custom_field”: {
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 1285996,
“type”: “yes-no”,
“is_required”: false,
“description”: “We will try our best to accommodate!”,
“description_safe_html”: “
We will try our best to accommodate!
”,
“name”: “Dietary Restrictions Y/N”,
“title”: “Check this box if anyone in your group have any dietary restrictions.”,
“booking_notes”: “”,
“booking_notes_safe_html”: “”
},
“name”: “Dietary Restrictions Y/N”,
“value”: “”,
“display_value”: “No”
},
{
“pk”: 1049599921,
“custom_field”: {
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 1285995,
“type”: “short”,
“is_required”: false,
“description”: “”,
“description_safe_html”: “”,
“name”: “Group Seating”,
“title”: “Are you sitting with any other parties that have signed up separately? Please let us know their full name below.”,
“booking_notes”: “”,
“booking_notes_safe_html”: “”
},
“name”: “Group Seating”,
“value”: “”,
“display_value”: “”
},
{
“pk”: 1049599922,
“custom_field”: {
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 1285131,
“type”: “extended-option”,
“is_required”: false,
“description”: “”,
“description_safe_html”: “”,
“name”: “How did you hear about us?”,
“title”: “How did you hear about us?”,
“booking_notes”: “”,
“booking_notes_safe_html”: “”,
“extended_options”: [
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921379,
“name”: “Internet search”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921380,
“name”: “Yelp”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921381,
“name”: “TripAdvisor”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921382,
“name”: “Google”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921383,
“name”: “Facebook”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921384,
“name”: “Instagram”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921385,
“name”: “Twitter”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921386,
“name”: “Friend”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921387,
“name”: “Word of mouth”,
“description”: “”,
“description_safe_html”: “”
},
{
“modifier_kind”: “offset”,
“modifier_type”: “none”,
“offset”: 0,
“percentage”: 0,
“is_taxable”: true,
“is_always_per_customer”: false,
“pk”: 7921388,
“name”: “Other”,
“description”: “”,
“description_safe_html”: “”
}
]
},
“name”: “How did you hear about us?”,
“value”: “”,
“display_value”: “”
}
],
“voucher_number”: “”,
“receipt_subtotal”: 10000,
“receipt_subtotal_display”: “100.00”,
“receipt_taxes”: 831,
“receipt_taxes_display”: “8.31”,
“receipt_total”: 10831,
“receipt_total_display”: “108.31”,
“amount_paid”: 0,
“amount_paid_display”: “0.00”,
“note”: “”,
“note_safe_html”: “”,
“pickup”: null,
“arrival”: null,
“is_eligible_for_cancellation”: true,
“effective_cancellation_policy”: {
“type”: “hours-before-start”,
“cutoff”: “2024-10-24T16:00:00.000Z”
},
“is_subscribed_for_sms_updates”: false,
“agent”: null,
“desk”: null,
“customer_count”: 1,
“waiver_signatures”: {},
“external_api_url”: “
https://fareharbor.com/api/external/v1/companies/santafeschoolofcooking/bookings/61da63c8-4528-4a3f-b102-d64796b9fdc4”
}
]
Here are the logs of the webhook: