action iqualify_patch_offerings_offering_id { label: "Update offering" description: "Updates the offering." provider: iqualify method: PATCH path: "/offerings/{offeringId}" encoding: json input: { type: "object" properties: { badge: { type: "object" properties: { badgeExpiry: { type: "object" properties: { expirationDate: { type: "string" format: "date-time" } expires: { type: "boolean" } expiryType: { type: "string" enum: ["date", "timeframe"] } timeframeAmount: { type: "number" } timeframeUnit: { type: "string" enum: ["days", "months", "years"] } } } description: { type: "string" } requiresApproval: { type: "boolean" } title: { type: "string" } } additionalProperties: false } contentId: { type: "string" description: "The identifier for a specific version of a course" } description: { type: "string" } earlyCloseOffDate: { type: "string" format: "date-time" } end: { type: "string" format: "date-time" } hasEarlyCloseOff: { type: "boolean" } identifier: { type: "string" } isReadonly: { type: "boolean" } metadata: { type: "object" properties: { category: { type: "string" } level: { type: "string" } tags: { type: "array" items: { type: "string" } } topic: { type: "string" } } additionalProperties: false } name: { type: "string" } overview: { type: "string" } rootContentId: { type: "string" description: "Every time a course is republished it is assigned a new contentId. rootContentId is the first original contentId associated with a course." } start: { type: "string" format: "date-time" } trailerVideoUrl: { type: "string" } useRelativeDates: { type: "boolean" } } } output: { type: "object" properties: { contentId: { type: "string" } coverImageUrl: { type: "string" } currency: { type: "string" } description: { type: "string" } earlyCloseOffDate: { type: "string" format: "date-time" } end: { type: "string" format: "date-time" } enrollmentLimit: { type: "number" } hasEarlyCloseOff: { type: "boolean" } id: { type: "string" } identifier: { type: "string" } isReadonly: { type: "boolean" } metadata: { type: "object" properties: { category: { type: "string" } level: { type: "string" } rootContentId: { type: "string" } tags: { type: "array" items: { type: "string" } } topic: { type: "string" } } additionalProperties: false } name: { type: "string" } overview: { type: "string" description: "content can contain html" } price: { type: "number" } start: { type: "string" format: "date-time" } tasksEnabled: { type: "boolean" } trailerVideoUrl: { type: "string" } useRelativeDates: { type: "boolean" } } } }