# Add a golf reservation

#### Register the reservation to the contact

Create the activity by setting the `type` to `Golf reservation` and include the `golfReservation` object.

`POST /activities`

<pre class="language-json" data-title="Example creating a golf reservation" data-line-numbers data-expandable="true"><code class="lang-json">{
  "contact": "47533",
  "happenedAt": "2021-01-06T15:00:12.289Z",
<strong>  "type": "Golf reservation",
</strong>  "source": "YourPlatform",
  "currencyCode": "GBP",
  "golfReservation": {
<strong>    "startTime": "12:30",
</strong><strong>    "origin": "Lightspeed Golf",
</strong><strong>    "originReference": "0648610e-38a3-4e30-a0e4-f061787db50a",
</strong><strong>    "customerBookingReference": "4V2U-1O4R",
</strong><strong>    "status": "Confirmed",
</strong>    "holes": 12
  }
}
</code></pre>

View the full [golf reservation object](/docs/api-reference/organisation-api/golf-reservation.md#get-golf_reservations-id) to see what detail to include.

#### Updating the reservation

Reservation will often transition through multiple statuses, once the booking is created as part of the activity it has its own identifier and [can be updated](/docs/api-reference/organisation-api/golf-reservation.md#put-golf_reservations-id), you might want to change the following:

* Status
* Total spend
* Holes


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://glu.gitbook.io/docs/use-cases/add-an-activity-to-a-contact/add-a-golf-reservation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
