Skip to main content

UpdateInPersonEvent

Update existing session of an in-person event.

UpdateInPersonEvent(
id: UUID!
title: String
status: String
sku: String
seatsLimit: Int
assignTo: String
priceInCents: Int
balanceRequirement: Int
customFields: [CustomFieldInput!]
waitlistingEnabled: Boolean
courseStartDate: Date
courseEndDate: Date
enrollmentStartDate: Date
enrollmentEndDate: Date
meetings: [MeetingFields!]
): Course!

Directives

authAccess

This requires the current user to be in MANAGER role.

Arguments

UpdateInPersonEvent.id ● UUID! non-null scalar

UpdateInPersonEvent.title ● String scalar

UpdateInPersonEvent.status ● String scalar

UpdateInPersonEvent.sku ● String scalar

UpdateInPersonEvent.seatsLimit ● Int scalar

UpdateInPersonEvent.assignTo ● String scalar

Email of user to assign event to.

UpdateInPersonEvent.priceInCents ● Int scalar

UpdateInPersonEvent.balanceRequirement ● Int scalar

UpdateInPersonEvent.customFields ● [CustomFieldInput!] list input

UpdateInPersonEvent.waitlistingEnabled ● Boolean scalar

UpdateInPersonEvent.courseStartDate ● Date scalar

UpdateInPersonEvent.courseEndDate ● Date scalar

UpdateInPersonEvent.enrollmentStartDate ● Date scalar

UpdateInPersonEvent.enrollmentEndDate ● Date scalar

UpdateInPersonEvent.meetings ● [MeetingFields!] list input

All meetings you want associated with the event will need to be passed in the meetings array. If you want to update the other properties on the event, omit the meetings field.

Type

Course object

Examples

Run in Postman

Query:

UpdateInPersonEvent(
$id: UUID!,
$title: String,
$status: String,
$sku: String,
$seatsLimit: Int,
$assignTo: String,
$priceInCents: Int,
$balanceRequirement: Int,
$customFields: [CustomFieldInput!],
$waitlistingEnabled: Boolean,
$courseStartDate: Date,
$courseEndDate: Date,
$enrollmentStartDate: Date,
$enrollmentEndDate: Date,
$meetings: [MeetingFields!]
) {
UpdateInPersonEvent(
id: $id,
title: $title,
status: $status,
sku: $sku,
seatsLimit: $seatsLimit,
assignTo: $assignTo,
priceInCents: $priceInCents,
balanceRequirement: $balanceRequirement,
customFields: $customFields,
waitlistingEnabled: $waitlistingEnabled,
courseStartDate: $courseStartDate,
courseEndDate: $courseEndDate,
enrollmentStartDate: $enrollmentStartDate,
enrollmentEndDate: $enrollmentEndDate,
meetings: $meetings
) {
id
createdAt
updatedAt
slug
status
title
sessionIsTitled
sampleLesson {
...LessonFragment
}
sampleLessonId
sections {
...SectionFragment
}
appearanceBlock
appearanceHash
paywallsBlock
termsBlock
confirmationBlock
courseStartDate
courseEndDate
enrollmentStartDate
enrollmentEndDate
gracePeriodEndDate
seatsLimit
waitlistCount
seatsLimitMet
waitlistingEnabled
waitlistingTriggered
taxable
purchasable
taxCategory
fulfillmentCenter
courseGroup {
...CourseGroupFragment
}
syllabusTitlesEnabled
galleryEnabled
workbookEnabled
linkedWorkbookEnabled
linkedWorkbookSkipEnabled
superquizEnabled
discussionsEnabled
resourcesEnabled
meetingsOverviewEnabled
instructorAccessEnabled
instructorEmails
freeWithRegistration
priceInCents
instructorAccessPriceInCents
suggestedRetailPriceInCents
alternativePricingType
alternativePricingRef
accessDays
showProgress
forceLinearProgress
completionTimePerPage
askLearnerPassword
roster
topicGroupId
sku
prerequisiteCourses {
...CourseFragment
}
prerequisiteLearningPaths {
...LearningPathFragment
}
parentCourseId
isChild
hasMultipleCurrencies
prices {
...ItemPriceFragment
}
enrollmentActive
waitlistActive
webinarDates {
...DateRangeFragment
}
webinarTimeZone
meetings {
...MeetingFragment
}
inPersonEventInfo {
...InPersonEventInfoFragment
}
currentUserHasAccess
location {
...LocationFragment
}
displayMap
publishDate
isActive
futurePublishDate
balanceRequirement
awardClaimingOptions {
...CourseAwardClaimingOptionFragment
}
availabilityStatus
embeddedEnabled
displayResults
bulkPurchasingEnabled
seatTiers {
...SeatTierFragment
}
seatPackages {
...SeatPackageFragment
}
lastTierPriceInCents
webinarId
hasChildren
customFields
kind
rosterSubmittedDate
finalAssessment
scormCollectUserDetails
seatsUsedCount
seatsAllocatedCount
webinarDetails {
...WebinarBlockFragment
}
showSyllabusWhileUnenrolled
topicGroup {
...TopicGroupFragment
}
courseGroupTitle
}
}

Variables:

{
"id": "UUID",
"title": "abc123",
"status": "abc123",
"sku": "abc123",
"seatsLimit": 678,
"assignTo": "xyz789",
"priceInCents": 678,
"balanceRequirement": 678,
"customFields": [
"CustomFieldInput"
],
"waitlistingEnabled": true,
"courseStartDate": "2023-12-20T16:58:58.782Z",
"courseEndDate": "2024-06-20T16:58:58.782Z",
"enrollmentStartDate": "2024-06-20T16:58:58.782Z",
"enrollmentEndDate": "2023-12-20T16:58:58.782Z",
"meetings": [
"MeetingFields"
]
}

Response:

{
"data": {
"UpdateInPersonEvent": {
"id": "58ccb96c-8e90-4464-86e0-f284442981df",
"createdAt": "2024-06-20T16:58:58.782Z",
"updatedAt": "2024-06-20T16:58:58.782Z",
"slug": "Slug",
"status": "draft",
"title": "abc123",
"sessionIsTitled": false,
"sampleLesson": "Lesson",
"sampleLessonId": "58ccb96c-8e90-4464-86e0-f284442981df",
"sections": [
"Section"
],
"appearanceBlock": "58ccb96c-8e90-4464-86e0-f284442981df",
"appearanceHash": "xyz789",
"paywallsBlock": "58ccb96c-8e90-4464-86e0-f284442981df",
"termsBlock": "58ccb96c-8e90-4464-86e0-f284442981df",
"confirmationBlock": "58ccb96c-8e90-4464-86e0-f284442981df",
"courseStartDate": "2024-06-20T16:58:58.782Z",
"courseEndDate": "2023-12-20T16:58:58.782Z",
"enrollmentStartDate": "2024-06-20T16:58:58.782Z",
"enrollmentEndDate": "2024-06-20T16:58:58.782Z",
"gracePeriodEndDate": "2023-12-20T16:58:58.782Z",
"seatsLimit": 678,
"waitlistCount": 678,
"seatsLimitMet": true,
"waitlistingEnabled": false,
"waitlistingTriggered": false,
"taxable": false,
"purchasable": true,
"taxCategory": "58ccb96c-8e90-4464-86e0-f284442981df",
"fulfillmentCenter": "58ccb96c-8e90-4464-86e0-f284442981df",
"courseGroup": "courseGroup-1",
"syllabusTitlesEnabled": false,
"galleryEnabled": true,
"workbookEnabled": false,
"linkedWorkbookEnabled": false,
"linkedWorkbookSkipEnabled": false,
"superquizEnabled": true,
"discussionsEnabled": false,
"resourcesEnabled": false,
"meetingsOverviewEnabled": false,
"instructorAccessEnabled": false,
"instructorEmails": [
"abc123"
],
"freeWithRegistration": true,
"priceInCents": 678,
"instructorAccessPriceInCents": 678,
"suggestedRetailPriceInCents": 678,
"alternativePricingType": "membership",
"alternativePricingRef": 678,
"accessDays": 678,
"showProgress": true,
"forceLinearProgress": false,
"completionTimePerPage": 678,
"askLearnerPassword": true,
"roster": true,
"topicGroupId": "58ccb96c-8e90-4464-86e0-f284442981df",
"sku": "abc123",
"prerequisiteCourses": [
"Course"
],
"prerequisiteLearningPaths": [
"LearningPath"
],
"parentCourseId": "58ccb96c-8e90-4464-86e0-f284442981df",
"isChild": true,
"hasMultipleCurrencies": false,
"prices": [
"ItemPrice"
],
"enrollmentActive": true,
"waitlistActive": true,
"webinarDates": [
"DateRange"
],
"webinarTimeZone": "abc123",
"meetings": [
"Meeting"
],
"inPersonEventInfo": "InPersonEventInfo",
"currentUserHasAccess": true,
"location": "Location",
"displayMap": false,
"publishDate": "2024-06-20T16:58:58.782Z",
"isActive": true,
"futurePublishDate": "2024-06-20T16:58:58.782Z",
"balanceRequirement": 236.56,
"awardClaimingOptions": [
"CourseAwardClaimingOption"
],
"availabilityStatus": "xyz789",
"embeddedEnabled": false,
"displayResults": true,
"bulkPurchasingEnabled": false,
"seatTiers": [
"SeatTier"
],
"seatPackages": [
"SeatPackage"
],
"lastTierPriceInCents": 678,
"webinarId": "abc123",
"hasChildren": false,
"customFields": "{}",
"kind": "microCourse",
"rosterSubmittedDate": "2024-06-20T16:58:58.782Z",
"finalAssessment": "xyz789",
"scormCollectUserDetails": false,
"seatsUsedCount": 678,
"seatsAllocatedCount": 678,
"webinarDetails": "WebinarBlock",
"showSyllabusWhileUnenrolled": false,
"topicGroup": "TopicGroup",
"courseGroupTitle": "xyz789"
}
}
}