addonDraftPublish
Publishes and enables the add-on, applying saved draft content and audience together for an already published record. First publication uses current content and primary audience; draft fields are cleared. Refreshes the tracking script after saving; regeneration failure can be reported after publication succeeds. Requires survey edit access or CTA edit access matching the add-on type.
addonDraftPublish(
id: String!
siteId: Int!
): AddonMutationResponse!
Arguments
addonDraftPublish.id ● String! non-null scalar
Add-on UUID from addonList or addonDetail.
addonDraftPublish.siteId ● Int! non-null scalar
Owning site ID from addonDetail; must match the add-on.
Type
AddonMutationResponse object
Saved add-on identity and preview token returned by addonCreate, addonEdit, and draft mutations.