---
title: "Campus (Giving)"
description: "A Campus that has been added to your Organization."
---

> Documentation Index
> Fetch the complete documentation index at: https://planningcenterkit.mackenly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Campus (Giving)

A `Campus` that has been added to your `Organization`.

`Campus`es can be especially useful in filtering `Donation`s across the various locations of your `Organization`.

| Property | Value |
| --- | --- |
| Product | [Giving](/reference/giving/) (`pco.giving`, API version `2019-10-18`) |
| Resource type | `Campus` |
| TypeScript | `Giving.Campus`, attributes `Giving.CampusAttributes`, schema `Giving.CampusSchema` |
| Planning Center path | `/giving/v2/campuses` |
| Planning Center docs | [Campus](https://api.planningcenteronline.com/docs/apps/giving/versions/2019-10-18/vertices/campus) |

## How to reach it

| Client path | Returns | Filters | Create |
| --- | --- | --- | --- |
| `pco.giving.campuses` | Collection |  | No |
| `pco.giving.donations.id(donationId).campus` | Collection |  | No |
| `pco.giving.in_kind_donations.id(inKindDonationId).campus` | Collection |  | No |
| `pco.giving.people.id(personId).primary_campus` | Collection |  | No |

From a collection, `.id(campusId)` addresses one Campus: `pco.giving.campuses.id(campusId)`. Collections support [`where`, `include`, `order`, and pagination](/guides/querying/); single resources have `get()`.

## Attributes

On `Giving.CampusAttributes`. Every resource also has `id` and `type` (`'Campus'`) next to its attributes.

| Name | Type | Description |
| --- | --- | --- |
| `address` | `Record<string, unknown> \| null` | The address for a campus. Campus descriptions can be set via Accounts or the People API. |
| `name` | `string \| null` | The name for a campus. Campus names can be set via Accounts or the People API. |

## Querying

No documented `where` fields.

No documented `order` fields.

## Edges

Follow these from one Campus, `ref = pco.giving.campuses.id(campusId)`:

| Edge | Leads to | Returns | Filters | Create |
| --- | --- | --- | --- | --- |
| `ref.donations` | [Donation](/reference/giving/donation/) | Collection |  | No |

## Writing

| Property | Value |
| --- | --- |
| Create | No |
| Update | No |
| Delete | No |

## Example

```ts
import type { Giving } from '@mackenly/planningcenterkit';

const page = await pco.giving.campuses.perPage(25).list();
const items: Giving.Campus[] = page.data;
```

Source: https://planningcenterkit.mackenly.com/reference/giving/campus/index.mdx
