Magidoc

Mutation
Object

Fields

#

abortPaymentRequest

Non-null

addCatalogMetadataField

Non-null

Adds a metadata field record to catalog metadata so it will sync on the next ingestion.

addProductsToProductGroup

Non-null

Adds the given list of products to the product group, if they are not already part of the product group

aiGenerateBuyersGuide

Non-null

Starts a background job to generate buyers guide

aiGenerateBuyersGuideAnswerTags

Non-null

Starts a background job that re-generates only the answer tags on an existing buyers guide and then re-tags the products. Existing question/answer text is preserved.

aiGenerateBuyersGuideContext

Non-null

Starts a background job to generate buyers guide context

aiGenerateBuyersGuideQuestions

Non-null

Starts a background job to generate buyers guide questions

aiGenerateBuyersGuideTagProducts

Non-null

Starts a background job to generate buyers guide tag products

bookOnboardingCall

Non-null

Books an onboarding call for the logged-in user at one of the slots returned by onboardingCallAvailability. HubSpot chooses the host from its round-robin rotation.

cancelHandoff

Non-null

completeDraftOrder

Non-null

createAiModel

Non-null

createAiWorkflowStepDraft

Non-null

createCatalogMetadataTransform

Non-null

Creates or reuses a catalog metadata view/split transform for the current organisation.

createDashboard

Non-null

Creates a new dashboard

createDraftOrder

Non-null

createMobileHandoff

Non-null

createOrganisationApiKey

Non-null

createOrganisationAsStaff

Non-null

Allows Cloudshelf staff to create a new Custom-platform organisation with default roles seeded.

createPaidOrder

Non-null

createPresignedFontUpload

Non-null

createStaffApiKey

Non-null

createTrackedURL

Non-null

createUserAndLinkOrganisation

Non-null

deleteAiModel

Non-null

deleteAiWorkflowStepDraft

Non-null

deleteCatalogMetadataTransform

Non-null

Deletes a catalog metadata transform.

deleteCheckoutFlows

Non-null

Allows deletion of checkout flows

deleteCheckoutFlowsUsingFilter

Non-null

Allows deletion of checkout flows using a filter

deleteCloudshelves

Non-null

Allows deletion of Cloudshelves

deleteCloudshelvesUsingFilter

Non-null

Allows deletion of cloudshelves using a filter

deleteDashboard

Non-null

Deletes a dashboard

deleteDashboardChart

Non-null

Removes a curated chart from the dashboards section. Requires Cloudshelf staff.

deleteDevices

Non-null

Allows deletion of Devices

deleteDevicesUsingFilter

Non-null

Deletes devices using a filter

deleteLocations

Non-null

Allows deletion of locations

deleteLocationsUsingFilter

Non-null

Allows deletion of locations using a filter

deleteOrganisationAsStaff

Non-null

Allows Cloudshelf staff to permanently delete a custom organisation (and all of its owned data). Rejects Shopify, Salesforce B2C, and any organisation whose eCommercePlatformDisplayName contains "cloudshelf".

deletePlugin

Non-null

Deletes a plugin

deleteProductGroups

Non-null

Allows deletion of product groups

deleteProducts

Non-null

Allows the deletion of Products

deleteRoles

Non-null

Deletes custom roles by their IDs. Users assigned to deleted roles are reassigned to the specified replacement role. System roles cannot be deleted.

deleteSalesAssistants

Non-null

Allows the deletion of sales assistants

deleteSalesAssistantsUsingFilter

Non-null

Allows deletion of sales assistants using a filter

deleteThemes

Non-null

Allows the deletion of Themes

deleteThemesUsingFilter

Non-null

Allows deletion of themes using a filter

deleteTutorial

Non-null

Deletes a tutorial and every user completion record for it. Requires Cloudshelf staff.

duplicateCheckoutFlows

Non-null

duplicateCheckoutFlowsUsingFilter

Non-null

Allows duplication of checkout flows using a filter

duplicateCloudshelves

Non-null

duplicateCloudshelvesUsingFilter

Non-null

Allows duplication of cloudshelves using a filter

duplicateThemes

Non-null

duplicateThemesUsingFilter

Non-null

Allows duplication of themes using a filter

editSubscription

Non-null

endRemoteSession

Non-null

endSession

Non-null

evictUserByEmail

Non-null

Removes a user's access from the current organisation by their email address.

finalizeFontUpload

Non-null

forcePublishOrganisation

Non-null

This is an internal function. This allows Cloudshelf staff to force publishing all entites for an organisation

generateCode

Non-null

Generates code using AI based on user instructions and context

generateRemoteControlNonce

Non-null

heartbeatRemoteSession

Non-null

importCatalogProductTypesCsv

Non-null

Imports catalog product type attributes from a CSV export for the current organisation.

importCatalogProductsCsv

Non-null

Imports catalog product attribute values from a CSV export for the current organisation.

keepKnownProductGroupsViaFile

Non-null

Allows the user to provide a file with known product variants to keep, any other product groups already in their organisation will be deleted. (with the exception of the all products group)

keepKnownProductsViaFile

Non-null

Allows the user to provide a file with known products to keep, any other products already in their organisation will be deleted

keepKnownVariantsViaFile

Non-null

Allows the user to provide a file with known variants to keep, any other variants already in their organisation will be deleted

leaveOrganisation

Non-null

Allows the current user leave an Organisation.

linkUserToOrganisationAtSignup

Non-null

markInstallComplete

Non-null

markShopifyOrganisationUninstallStarted

Non-null

markTutorialSeen

Non-null

Records that the acting user has finished (completed or skipped) a tutorial so it is not shown again. Returns true when the completion is recorded (or already existed).

newPreviewSession

Non-null

Creates a PREVIEW session for the given Cloudshelf, without requiring a device. Used by the engine when running in Cloudshelf preview mode. PREVIEW sessions are CLOUDSHELF_INTERNAL and are excluded from retailer dashboards.

newSession

Non-null

notice

Non-null

publishAiWorkflowStepDraft

Non-null

queueCatalogAttributeCoverageBackfill

Non-null

recordSessionActivity

Non-null

Records a batch of activity events against an existing Session. Called by the engine at session end. Unknown sessionIds are rejected; unknown eventType values are rejected; client-supplied eventIds are deduplicated. COMPLETE and INVALID (superseded) sessions accept events within a 24h grace window so offline-retried batches still attach.

refreshAllBuyersGuideImageSearchPhrases

Non-null

registerWebhook

Non-null

Register a webhook for a given subject. The supplied URL will be called with a POST request when the subject is triggered.

removeCatalogMetadataField

Non-null

Removes a metadata field from catalog metadata and deletes its user-defined transforms.

removeOrganisationMetadata

Non-null

Removes metadata owned directly by the authenticated organisation.

removeProductsFromProductGroup

Non-null

Removes the given products from the product group, if they are currently part of it

reorderDashboards

Non-null

Saves the organisation's dashboard tab order. The order is stored per organisation (defaults included), so one org's arrangement never affects another's.

replaceSalesLast30Days

Non-null

Atomically replaces product and variant sales counts for the acting organisation

reportCatalogStats

Non-null

reportDeviceOnline

Non-null

reportTriggerJobCompleted

Non-null

reportTriggerJobFailed

Non-null

reportTriggerJobPending

Non-null

reportTriggerJobStarted

Non-null

requestCurrentUserEmailVerification

Non-null

requestFirebasePasswordReset

Non-null

Requests a password-reset email without revealing whether an account exists.

requestShopifySubscriptionCheck

Non-null

revokeAccessRight

Non-null

revokeOrganisationApiKey

Non-null

revokeStaffApiKey

Non-null

runInternalTool

Non-null

This is an internal function. This allows Cloudshelf staff to run internal tools

saveOrgHubspotData

Non-null

saveSurveyAnswers

Non-null

selectCurrentOrganisationAccess

Non-null

Sets the users currently active organisation (actingAs), which is used to decide which organisations data is accessed in other queries.

sendBasketToStore

Non-null

sendBuyersGuideSummary

Non-null

sendEmailVerification

Non-null

Sends an email verification

sendRemoteControlEvent

Non-null

sendWishlist

Non-null

setActingAs

Non-null

setActiveAiWorkflowStepVersion

Non-null

setActiveVersion

Non-null

setAiModelEnabled

Non-null

setCatalogProductAttributeValueLocked

Non-null

Updates the lock state for a catalog product attribute value for the current organisation.

setCatalogProductIbvEnrichmentFieldLocked

Non-null

Updates the lock state for a catalog product IBV enrichment field.

setCatalogProductTypeAttributeLocked

Non-null

Updates the lock state for a catalog product type attribute for the current organisation.

setCatalogProductTypeComplementarityLocked

Non-null

Updates the lock state for the nature of complementarity and call-to-action on a catalog product type.

setCatalogProductTypeComplementaryItemsLocked

Non-null

Updates the lock state for the complementary product types list on a catalog product type.

setDashboardChartVisibility

Non-null

Controls whether retailers can see a curated chart in the picker. Requires Cloudshelf staff.

setHandoffImageUrl

Non-null

setIngestionExemptionRules

Non-null

Sets the ingestion exemption rules for the given organisation, used to omit products/variants during custom-connector ingestion (staff only)

setOrgType

Non-null

setOrganisationSyncStatus

Non-null

setProductTagLock

Non-null

setVariables

Non-null

Allows settings of an variables

setVariantEditableByPlatformIds

Non-null

Set editable=true for variants NOT in platform IDs within a domain

startPaymentRequest

Non-null

startRemoteSession

Non-null

startSync

Non-null

startSyncWithDomainName

Non-null

subscribe

Non-null

syncMetabase

Non-null

Pulls every card from Metabase into the local registry. New charts are created hidden; existing charts keep their visibility and param mappings; charts removed from Metabase are archived. Requires Cloudshelf staff.

testAiModel

Non-null

testAiWorkflowStep

Non-null

toggleInMaintenanceMode

Non-null

transferToShopifyPOS

Non-null

triggerCatalogAttributeUpdate

Non-null

Triggers catalog IBV attribute workflows for the current organisation.

triggerFilterExtraction

Non-null

Triggers filter extraction for the current organisation

triggerOrganisationIbvEnrichmentWorkflow

Non-null

triggerOrganisationKeyAttributesWorkflow

Non-null

unregisterWebhooks

Non-null

Unregister a webhook for a given subject. If an array of ids is supplied, only the webhooks corresponding to the supplied ids will be unregistered, if they exists. If no array is supplied, all webhooks for the given subject will be unregistered.

unsubscribe

Non-null

updateAiModel

Non-null

updateAiWorkflowStepDraft

Non-null

updateCatalogMetadataTransform

Non-null

Updates the display name and JavaScript body for a catalog metadata transform.

updateCatalogProductAttributeValue

Non-null

Updates a catalog product attribute value for the current organisation.

updateCatalogProductIbvImpulse

Non-null

Updates the impulse buy IBV signal for a catalog product.

updateCatalogProductIbvStrongestSellingPoint

Non-null

Updates the strongest selling point IBV signal for a catalog product.

updateCatalogProductIbvTier

Non-null

Updates the tier IBV signal for a catalog product.

updateCatalogProductTypeAttribute

Non-null

Updates a catalog product type attribute for the current organisation.

updateCatalogProductTypeComplementarity

Non-null

Updates the nature of complementarity and call-to-action for a catalog product type for the current organisation.

updateCatalogProductTypeComplementaryItems

Non-null

Replaces the complementary product types list for a catalog product type for the current organisation.

updateCloudshelfStaffRole

Non-null

Updates a Cloudshelf internal staff role. Staff roles cannot be created or deleted via the API. Requires Cloudshelf staff permissions.

updateCustomCSSRules

Non-null

updateDashboard

Non-null

Renames a dashboard. Cloudshelf staff admins may also toggle isDefault to share the dashboard with every organisation (or make a default private again).

updateDashboardCells

Non-null

Replaces the full set of chart cells on a dashboard

updateDashboardParamLayout

Non-null

Saves the arranged param bar layout (the ordered lines within the FILTER and DISPLAY sections). On a default dashboard the layout is saved per organisation, so one org's arrangement never affects another's.

updateDashboardParamValues

Non-null

Replaces the full set of dashboard-level param values (the last-selected form state). On a default dashboard the values are saved per organisation, so one org's selections never affect another.

updateMyUser

Non-null

Allows updating basic user information

updateOrganisationRunIbvWorkflows

Non-null

updateOrganisationSyncStatus

Non-null

updateProductTags

Non-null

updateProductsInProductGroup

Non-null

Sets the products in the product group to the given list of products

updateProductsInProductGroupInBatch

Non-null

Sets the products in the product group to the given list of products

updateSalesAssistantRules

Non-null

updateSession

Non-null

updateTriggerTaskConfig

Non-null

Updates trigger task configuration overrides for the current organisation (staff only)

upsertCMSDevice

Non-null

Upserts a device via CMS API. Creates if platformProvidedId does not exist, updates if it does. API key authentication only.

upsertCheckoutFlows

Non-null

Allows upserting of checkout flows

upsertCloudshelves

Non-null

Allows upserting of Cloudshelves

upsertDashboardChart

Non-null

Curates a Metabase question for the dashboards section, replacing its param mappings. Requires Cloudshelf staff.

upsertDevices

Non-null

Allows upserting of Devices

upsertDraftOrders

Non-null

Allows upserting of Draft Order entities

upsertLocations

Non-null

Allows upserting of locations

upsertOrders

Non-null

Allows upserting of Order entities

upsertOrganisation

Non-null

Allows upserting of an organisation

upsertOrganisationFilters

Non-null

Updates organisation-level filter configuration and filter customizations.

upsertOrganisationMetadata

Non-null

Creates or updates metadata owned directly by the authenticated organisation.

upsertPaymentProviders

Non-null

Allows settings payment provider settings

upsertPlugin

Non-null

Create or updates a plugin, overriding any previous settings

upsertProductGroups

Non-null

Allows upserting of product groups

upsertProductVariants

Non-null

upsertProducts

Non-null

Allows upserting of Products

upsertRole

Non-null

Creates or updates a custom role. System roles cannot be modified. When updating permissions, the provided list replaces all existing permissions.

upsertSalesAssistants

Non-null

Allows upserting of sales assistants

upsertShopifyOrganisation

Non-null

upsertStockLevels

Non-null

Upserts stock levels for product variants at specific locations.

upsertTheme

Non-null

Allows upserting of Themes

upsertTutorial

Non-null

Creates or updates a tutorial, replacing its steps and audience. Requires Cloudshelf staff.

upsertUser

Non-null

Allows upserting of user access to the current organisation

upsertUserByEmail

Non-null

Creates or updates user access to the current organisation using email as the lookup key. If the user does not exist, a new user is created. If the user exists but has no access to this organisation, access is granted. If the user already has access to this organisation, their role is updated.

verifyCurrentUserEmail

Non-null