A ServiceTime Resource
| Property | Value |
|---|---|
| Product | People (pco.people, API version 2026-10-05) |
| Resource type | ServiceTime |
| TypeScript | People.ServiceTime, attributes People.ServiceTimeAttributes, schema People.ServiceTimeSchema |
| Planning Center path | /people/v2/campuses/{campus_id}/service_times |
| Planning Center docs | ServiceTime |
How to reach it
| Client path | Returns | Filters | Create |
|---|---|---|---|
pco.people.campuses.id(campusId).service_times |
Collection | Yes |
From a collection, .id(serviceTimeId) addresses one ServiceTime: pco.people.campuses.id(campusId).service_times.id(serviceTimeId). Collections support where, include, order, and pagination; single resources have get().
Attributes
On People.ServiceTimeAttributes. Every resource also has id and type ('ServiceTime') next to its attributes.
| Name | Type | Description |
|---|---|---|
day |
string | null |
Possible values: sunday, monday, tuesday, wednesday, thursday, friday, or saturday |
description |
string | null |
|
start_time |
number | null |
Relationships and includes
Planning Center documents no includes for this resource.
| Relationship | Type | To | Includable |
|---|---|---|---|
campus |
To one | Campus | No |
organization |
To one | Organization | No |
Querying
No documented where fields.
Order
order(...) accepts these fields, ascending, or descending with a - prefix: time.
Edges
This resource has no documented edges.
Writing
| Property | Value |
|---|---|
| Create | Yes, create() on service_times on Campus |
| Update | Yes, update() on a reference |
| Delete | Yes, delete() on a reference |
Create attributes
Typed as People.ServiceTimeSchema['create'].
| Attribute | Type |
|---|---|
day |
string | null |
description |
string | null |
start_time |
number | null |
Update attributes
Typed as People.ServiceTimeSchema['update'].
| Attribute | Type |
|---|---|
day |
string | null |
description |
string | null |
start_time |
number | null |
See Writing data.
Example
import type { People } from '@mackenly/planningcenterkit';
const campusId = '1'; // Campus id
const page = await pco.people.campuses.id(campusId).service_times.order('time').perPage(25).list();
const items: People.ServiceTime[] = page.data;