Skip to main content

AddonMutationResponse

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

type AddonMutationResponse {
id: String!
previewToken: String!
status: AddonMutationStatus!
}

Fields​

AddonMutationResponse.id ● String! non-null scalar​

Add-on UUID accepted by addonDetail and add-on mutations.

AddonMutationResponse.previewToken ● String! non-null scalar​

Token for previewing the saved add-on on its site.

AddonMutationResponse.status ● AddonMutationStatus! non-null enum​

SUCCESS after saving; DELETED when editing an already soft-deleted add-on.

Returned By​

addonCreate mutation ● addonDraftDiscard mutation ● addonDraftPublish mutation ● addonEdit mutation