Skip to main content

addonEdit

Updates an existing survey or CTA and returns a preview token; use the draft fields for unpublished edits to a published add-on, then addonDraftPublish. Site changes are rejected after publication. Returns status: DELETED when the record was already soft-deleted. Requires survey edit access or CTA edit access matching the add-on type.

addonEdit(
addon: AddonEditParams!
): AddonMutationResponse!

Arguments​

addonEdit.addon ● AddonEditParams! non-null input​

Add-on UUID, destination site, and fields to update; omitted fields remain unchanged.

Type​

AddonMutationResponse object​

Saved add-on identity and preview token returned by addonCreate, addonEdit, and draft mutations.