update_product_groups
Update one or more product groups. Supports updating fields such as internal reference, academic year, contract dates, expiry settings, and publishing window.
Input
productGroups
UpdateProductGroupInput[]
Yes
Array of product group entries to update - UpdateProductGroupInput
UpdateProductGroupInput
productGroupId
string
Yes
The ID of the product group to update
academicYear
string
No
The academic year of the product group
agreementId
string
No
The ID of the associated agreement
allowBookingExpiryTimer
boolean
No
Whether booking expiry timer is allowed
cancelationPolicyId
string
No
The ID of the cancelation policy to associate
contractEarliestEndDate
string
No
The earliest end date of the contract
contractEarliestStartDate
string
No
The earliest start date of the contract
contractLatestEndDate
string
No
The latest end date of the contract
contractLatestStartDate
string
No
The latest start date of the contract
contractTemplateExternalId
string
No
External ID of the contract template to associate. Omit or pass null to clear.
defaultExpiryDurationInSeconds
number
No
The default expiry duration in seconds
internalReference
string
No
The internal reference of the product group
publishing
PublishingInput
No
Publishing window configuration including start and end dates - PublishingInput
workspaceId
string
No
The ID of the workspace
PublishingInput
startDate
string
No
Date when products start showing. Defaults to today if not provided.
endDate
string
No
Date when products stop showing. Defaults to contract_latest_end_date if not provided.
Output
isError
boolean
Whether the tool execution resulted in an error
ContentItem
type
'text'
Content type (currently only 'text' is supported)
text
string
The text content to display
Last updated