Packages
Recurring passes for event signups, court bookings, guest passes.
55d4db3a-4e78-407c-994f-b772520ceea9Returns a Package
GET /apis/v2/packages/{packageId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Returns a Package
{
"id": "text",
"displayName": "text",
"displayNamePlural": "text",
"status": "ACTIVE",
"createdDate": "2026-01-01T00:00:00.000Z",
"expirationDate": "2026-01-01T00:00:00.000Z",
"items": {
"items": [
{
"id": "text",
"type": "BOOKING",
"displayName": "text",
"displayNamePlural": "text",
"totalItems": 1,
"constraints": {
"bookingEventSubtype": [
null
],
"bookingEventCustomType": "text",
"bookingEventCustomTypesMatchAny": [
"text"
],
"bookingEventTagsMatchAll": [
"text"
],
"bookingEventTagsMatchAny": [
"text"
],
"allowKids": true,
"bookingSessionPeriodTypeMatchAny": [
null
],
"bookingAreaSlugMatchAny": [
"text"
],
"bookingPodIdsMatchAny": [
"text"
]
},
"remainingItems": 1
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
},
"redemptions": {
"items": [
{
"id": "text",
"redemptionDate": "2026-01-01T00:00:00.000Z",
"item": 1,
"user": {
"id": "text"
},
"order": {
"id": "text"
},
"orderItem": {
"id": "text"
},
"cancelationDate": "2026-01-01T00:00:00.000Z",
"_links": {}
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
},
"template": {
"id": "text"
},
"order": {
"id": "text"
},
"_links": {}
}55d4db3a-4e78-407c-994f-b772520ceea9Updates a Package
PATCH /apis/v2/packages/{packageId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 571
{
"displayName": "text",
"displayNamePlural": "text",
"expirationDate": "2026-01-01T00:00:00.000Z",
"items": {
"items": [
{
"id": "text",
"type": "BOOKING",
"displayName": "text",
"displayNamePlural": "text",
"totalItems": 1,
"constraints": {
"bookingEventSubtype": [
null
],
"bookingEventCustomType": "text",
"bookingEventCustomTypesMatchAny": [
"text"
],
"bookingEventTagsMatchAll": [
"text"
],
"bookingEventTagsMatchAny": [
"text"
],
"allowKids": true,
"bookingSessionPeriodTypeMatchAny": [
null
],
"bookingAreaSlugMatchAny": [
"text"
],
"bookingPodIdsMatchAny": [
"text"
]
}
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
}
}Updates a Package
{
"id": "text",
"displayName": "text",
"displayNamePlural": "text",
"status": "ACTIVE",
"createdDate": "2026-01-01T00:00:00.000Z",
"expirationDate": "2026-01-01T00:00:00.000Z",
"items": {
"items": [
{
"id": "text",
"type": "BOOKING",
"displayName": "text",
"displayNamePlural": "text",
"totalItems": 1,
"constraints": {
"bookingEventSubtype": [
null
],
"bookingEventCustomType": "text",
"bookingEventCustomTypesMatchAny": [
"text"
],
"bookingEventTagsMatchAll": [
"text"
],
"bookingEventTagsMatchAny": [
"text"
],
"allowKids": true,
"bookingSessionPeriodTypeMatchAny": [
null
],
"bookingAreaSlugMatchAny": [
"text"
],
"bookingPodIdsMatchAny": [
"text"
]
},
"remainingItems": 1
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
},
"redemptions": {
"items": [
{
"id": "text",
"redemptionDate": "2026-01-01T00:00:00.000Z",
"item": 1,
"user": {
"id": "text"
},
"order": {
"id": "text"
},
"orderItem": {
"id": "text"
},
"cancelationDate": "2026-01-01T00:00:00.000Z",
"_links": {}
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
},
"template": {
"id": "text"
},
"order": {
"id": "text"
},
"_links": {}
}55d4db3a-4e78-407c-994f-b772520ceea956d4db3a-4e78-407c-994f-b772520ceea9Updates a PackageItem
PATCH /apis/v2/packages/{packageId}/items/{itemId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"displayName": "text",
"displayNamePlural": "text",
"totalItems": 1
}Updates a PackageItem
{
"id": "text",
"type": "BOOKING",
"displayName": "text",
"displayNamePlural": "text",
"totalItems": 1,
"constraints": {
"bookingEventSubtype": [
null
],
"bookingEventCustomType": "text",
"bookingEventCustomTypesMatchAny": [
"text"
],
"bookingEventTagsMatchAll": [
"text"
],
"bookingEventTagsMatchAny": [
"text"
],
"allowKids": true,
"bookingSessionPeriodTypeMatchAny": [
null
],
"bookingAreaSlugMatchAny": [
"text"
],
"bookingPodIdsMatchAny": [
"text"
]
},
"remainingItems": 1
}Returns a PackageTemplateCollection
GET /apis/v2/package-templates HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Returns a PackageTemplateCollection
{
"items": [
{
"id": "text",
"displayName": "text",
"displayNamePlural": "text",
"createdDate": "2026-01-01T00:00:00.000Z",
"durationDays": 1,
"items": {
"items": [
{
"id": "text",
"type": "BOOKING",
"displayName": "text",
"displayNamePlural": "text",
"totalItems": 1,
"constraints": {
"bookingEventSubtype": [
null
],
"bookingEventCustomType": "text",
"bookingEventCustomTypesMatchAny": [
"text"
],
"bookingEventTagsMatchAll": [
"text"
],
"bookingEventTagsMatchAny": [
"text"
],
"allowKids": true,
"bookingSessionPeriodTypeMatchAny": [
null
],
"bookingAreaSlugMatchAny": [
"text"
],
"bookingPodIdsMatchAny": [
"text"
]
}
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
},
"errors": [
{
"code": "text",
"message": "text",
"details": {}
}
],
"_links": {}
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
}Creates a PackageTemplate
Returns an ErrorDto in case of validation errors or failures.
Possible error codes are:PT001: Display Name must be set.PT002: Display Name Plural must be set.PT003: Duration in days must be set and be a positive number.PT004: Package must have at least one item.PT005: Package items must have unique IDs.
POST /apis/v2/package-templates HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 556
{
"displayName": "text",
"displayNamePlural": "text",
"durationDays": 1,
"items": {
"items": [
{
"id": "text",
"type": "BOOKING",
"displayName": "text",
"displayNamePlural": "text",
"totalItems": 1,
"constraints": {
"bookingEventSubtype": [
null
],
"bookingEventCustomType": "text",
"bookingEventCustomTypesMatchAny": [
"text"
],
"bookingEventTagsMatchAll": [
"text"
],
"bookingEventTagsMatchAny": [
"text"
],
"allowKids": true,
"bookingSessionPeriodTypeMatchAny": [
null
],
"bookingAreaSlugMatchAny": [
"text"
],
"bookingPodIdsMatchAny": [
"text"
]
}
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
},
"_links": {}
}{
"id": "text",
"displayName": "text",
"displayNamePlural": "text",
"createdDate": "2026-01-01T00:00:00.000Z",
"durationDays": 1,
"items": {
"items": [
{
"id": "text",
"type": "BOOKING",
"displayName": "text",
"displayNamePlural": "text",
"totalItems": 1,
"constraints": {
"bookingEventSubtype": [
null
],
"bookingEventCustomType": "text",
"bookingEventCustomTypesMatchAny": [
"text"
],
"bookingEventTagsMatchAll": [
"text"
],
"bookingEventTagsMatchAny": [
"text"
],
"allowKids": true,
"bookingSessionPeriodTypeMatchAny": [
null
],
"bookingAreaSlugMatchAny": [
"text"
],
"bookingPodIdsMatchAny": [
"text"
]
}
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
},
"errors": [
{
"code": "text",
"message": "text",
"details": {}
}
],
"_links": {}
}55d4db3a-4e78-407c-994f-b772520ceea9Returns a PackageTemplate
GET /apis/v2/package-templates/{packageTemplateId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Returns a PackageTemplate
{
"id": "text",
"displayName": "text",
"displayNamePlural": "text",
"createdDate": "2026-01-01T00:00:00.000Z",
"durationDays": 1,
"items": {
"items": [
{
"id": "text",
"type": "BOOKING",
"displayName": "text",
"displayNamePlural": "text",
"totalItems": 1,
"constraints": {
"bookingEventSubtype": [
null
],
"bookingEventCustomType": "text",
"bookingEventCustomTypesMatchAny": [
"text"
],
"bookingEventTagsMatchAll": [
"text"
],
"bookingEventTagsMatchAny": [
"text"
],
"allowKids": true,
"bookingSessionPeriodTypeMatchAny": [
null
],
"bookingAreaSlugMatchAny": [
"text"
],
"bookingPodIdsMatchAny": [
"text"
]
}
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
},
"errors": [
{
"code": "text",
"message": "text",
"details": {}
}
],
"_links": {}
}55d4db3a-4e78-407c-994f-b772520ceea9Updates a PackageTemplate
DELETE /apis/v2/package-templates/{packageTemplateId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Updates a PackageTemplate
{
"id": "text",
"displayName": "text",
"displayNamePlural": "text",
"createdDate": "2026-01-01T00:00:00.000Z",
"durationDays": 1,
"items": {
"items": [
{
"id": "text",
"type": "BOOKING",
"displayName": "text",
"displayNamePlural": "text",
"totalItems": 1,
"constraints": {
"bookingEventSubtype": [
null
],
"bookingEventCustomType": "text",
"bookingEventCustomTypesMatchAny": [
"text"
],
"bookingEventTagsMatchAll": [
"text"
],
"bookingEventTagsMatchAny": [
"text"
],
"allowKids": true,
"bookingSessionPeriodTypeMatchAny": [
null
],
"bookingAreaSlugMatchAny": [
"text"
],
"bookingPodIdsMatchAny": [
"text"
]
}
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
},
"errors": [
{
"code": "text",
"message": "text",
"details": {}
}
],
"_links": {}
}55d4db3a-4e78-407c-994f-b772520ceea9Updates a PackageTemplate
Returns an ErrorDto in case of validation errors or failures.
Possible error codes are:PT001: Display Name must be set.PT002: Display Name Plural must be set.PT003: Duration in days must be set and be a positive number.PT004: Package must have at least one item.PT005: Package items must have unique IDs.
PATCH /apis/v2/package-templates/{packageTemplateId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 544
{
"displayName": "text",
"displayNamePlural": "text",
"durationDays": 1,
"items": {
"items": [
{
"id": "text",
"type": "BOOKING",
"displayName": "text",
"displayNamePlural": "text",
"totalItems": 1,
"constraints": {
"bookingEventSubtype": [
null
],
"bookingEventCustomType": "text",
"bookingEventCustomTypesMatchAny": [
"text"
],
"bookingEventTagsMatchAll": [
"text"
],
"bookingEventTagsMatchAny": [
"text"
],
"allowKids": true,
"bookingSessionPeriodTypeMatchAny": [
null
],
"bookingAreaSlugMatchAny": [
"text"
],
"bookingPodIdsMatchAny": [
"text"
]
}
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
}
}{
"id": "text",
"displayName": "text",
"displayNamePlural": "text",
"createdDate": "2026-01-01T00:00:00.000Z",
"durationDays": 1,
"items": {
"items": [
{
"id": "text",
"type": "BOOKING",
"displayName": "text",
"displayNamePlural": "text",
"totalItems": 1,
"constraints": {
"bookingEventSubtype": [
null
],
"bookingEventCustomType": "text",
"bookingEventCustomTypesMatchAny": [
"text"
],
"bookingEventTagsMatchAll": [
"text"
],
"bookingEventTagsMatchAny": [
"text"
],
"allowKids": true,
"bookingSessionPeriodTypeMatchAny": [
null
],
"bookingAreaSlugMatchAny": [
"text"
],
"bookingPodIdsMatchAny": [
"text"
]
}
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
},
"errors": [
{
"code": "text",
"message": "text",
"details": {}
}
],
"_links": {}
}current["items._links.redemptions"]Returns a PackageCollection
GET /apis/v2/users/{userId}/packages HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Returns a PackageCollection
{
"id": "text",
"displayName": "text",
"displayNamePlural": "text",
"status": "ACTIVE",
"createdDate": "2026-01-01T00:00:00.000Z",
"expirationDate": "2026-01-01T00:00:00.000Z",
"items": {
"items": [
{
"id": "text",
"type": "BOOKING",
"displayName": "text",
"displayNamePlural": "text",
"totalItems": 1,
"constraints": {
"bookingEventSubtype": [
null
],
"bookingEventCustomType": "text",
"bookingEventCustomTypesMatchAny": [
"text"
],
"bookingEventTagsMatchAll": [
"text"
],
"bookingEventTagsMatchAny": [
"text"
],
"allowKids": true,
"bookingSessionPeriodTypeMatchAny": [
null
],
"bookingAreaSlugMatchAny": [
"text"
],
"bookingPodIdsMatchAny": [
"text"
]
},
"remainingItems": 1
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
},
"redemptions": {
"items": [
{
"id": "text",
"redemptionDate": "2026-01-01T00:00:00.000Z",
"item": 1,
"user": {
"id": "text"
},
"order": {
"id": "text"
},
"orderItem": {
"id": "text"
},
"cancelationDate": "2026-01-01T00:00:00.000Z",
"_links": {}
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
},
"template": {
"id": "text"
},
"order": {
"id": "text"
},
"_links": {}
}currentStart date for history (defaults to 6 months ago)
End date for history (defaults to now)
Returns a PackageHistoryCollection
GET /apis/v2/users/{userId}/packages/history HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Returns a PackageHistoryCollection
{
"items": [
{
"type": "GRANT",
"date": "2026-01-01T00:00:00.000Z",
"amount": 1,
"description": "text",
"package": {
"id": "text"
},
"order": {
"id": "text"
},
"orderItem": {
"id": "text"
},
"packageType": "text",
"expirationDate": "2026-01-01T00:00:00.000Z"
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
}Last updated
Was this helpful?

