Magidoc

Query
Object

Fields

#

aiModels

[ AiModel !]!
Non-null

aiWorkflow

Non-null

aiWorkflowStepVersionDiffSummary

Non-null

allBuyersGuidesAdmin

Non-null

allIngestionStats

Non-null

availablePDPBlocks

Non-null

Returns an array of PDP Blocks that are available to add to the PDP

buyersGuide

cachePurgeStats

Non-null

Returns current stats about the Cloudflare cache purge system (admin only)

canRegisterDevice

Non-null

Returns a boolean value which indicates if the organisation can register a new device

catalogAttributeStats

Non-null

Returns organisation-level counts for catalog products, product types, attributes, and attribute values.

catalogProductTypes

Non-null

Returns paginated catalog product types for the current organisation with AI key attributes when available.

catalogProducts

Non-null

Returns paginated catalog products for the current organisation using the current product type assignment.

chartAverageSaleValueRecords

Non-null

chartEngagementRecords

Non-null

chartSalesValueRecords

Non-null

checkoutFlow

Returns a checkout flow entity

checkoutFlows

Non-null

Returns a paginated array of checkout flows

cloudshelf

Returns a Cloudshelf entity

cloudshelfEnginePayload

Non-null

cloudshelfList

Non-null

Returns a paginated array of Cloudshelves

cloudshelfStaffRoles

[ Role !]!
Non-null

Returns all Cloudshelf internal staff roles. Requires Cloudshelf staff permissions.

cloudshelfStaffUsers

Non-null

Returns a paginated list of Cloudshelf staff users. Requires Cloudshelf staff permissions.

cloudshelves

Non-null

Returns a paginated array of Cloudshelves

createPaymentAttempt

Non-null

customToken

An internal function for getting a Cloudshelf Authentication Token.

dashboardSalesSummary

Non-null

device

Returns a Device entity

deviceLocationConstraints

Non-null

Returns device location constraints and availability. Pass deviceId to show availability for moving a specific device.

devices

Non-null

Returns a paginated array of Devices.

effectiveTaskConfig

Returns the effective task configuration (defaults + org overrides) for a given task

engineProductsBlock

Non-null

exchangeRates

Non-null

Returns the exchange rates for a given currency code in GBP, USD, and EUR

filter

Returns a Filter entity

generateBuyersGuideInsightsForProducts

Non-null

generateMetabaseQuestion40Embed

Non-null

getDevices

Non-null

Returns a paginated array of Devices with advanced filtering and sorting.

getFractionalPaymentEligibility

Non-null

getHandoffPayload

Non-null

getLocations

Non-null

Returns a paginated array of locations

getMobileHandoff

getPaymentRequest

Non-null

getPaymentToken

Non-null

getPresignedCustomisationUrl

Non-null

getPresignedImageUploadUrls

Non-null

getVersionByType

Non-null

includeableFilters

Non-null

Returns all filters that can possibly be included for this organisation

ingestionStats

Non-null

isInMaintenanceMode

Non-null

isTrackedURLScanned

Non-null

location

Returns a location entity

locations

Non-null

Returns a paginated array of locations

me

Non-null

Returns the currently authenticated user.

metadataKeyEntries

Non-null

Returns all metadata key + namespace pairs available to the organisation.

metadataKeyEntriesForOrganisationAdmin

Non-null

Returns all metadata key + namespace pairs for a specific organisation (admin only).

metadataKeyStatuses

Non-null

Returns metadata keys available for selection, plus whether they need another sync.

metadataKeys

[ String !]!
Non-null

metadataKeysForOrganisationAdmin

[ String !]!
Non-null

Returns all metadata keys for a specific organisation (admin only).

metadataPreviewSamples

[ String !]!
Non-null

Recent metadata values for a metadata key, for mapper previews in manager.

mySyncErrors

Non-null

Errors recorded during the most recent sync for the authenticated organisation.

onlineFilterSearchBlockFast

Non-null

order

Returns an Order entity.

orders

Non-null

Returns a paginated array of Order entities

organisation

Returns an Organisation entity

organisationApiKeys

Non-null

organisationInstallComplete

Returns if the install has been completed for an organisation

organisationList

Non-null

Returns a paginated list of organisations

organisationRequiresStockSync

Non-null

Returns true if any CloudShelf uses device or named location stock relevance

organisationSyncErrorsByDomain

Non-null

Errors recorded during the most recent sync for the organisation with the given domain name.

organisationSyncErrorsById

Non-null

Errors recorded during the most recent sync for the organisation with the given id.

organisationSyncStatusByDomain

Non-null

organisationSyncStatusById

Non-null

organisationUsers

Non-null

Returns a paginated array of user access rights for the current organisation

organisations

Non-null

Returns a paginated array of organisations

plugins

Non-null

Returns a paginated array of plugins

product

Returns a Product entity.

productGroup

Returns a Product Group

productGroups

Non-null

Returns a paginated array of product groups

productTypesForOrganisationAdmin

Non-null

Returns distinct product types for a selected organisation for staff admin tools

products

Non-null

Returns a paginated array of Product entities.

publicDevice

Returns public information about a device

publishedConfig

Returns the last published config for a given entity, or generates a new one with pending changes if requested

role

Returns a role by its ID

roles

Non-null

Returns a paginated list of roles for the current organisation

salesAssistant

Returns a sales assistant entity

salesAssistants

Non-null

Returns a paginated array of Sales Assistants

sessions

[ Session !]!
Non-null

subscription

Returns a subscription entity

subscriptionCurrentOrg

This is an internal function. This function is not intended to be included in the final release. Only exists due to CS-1273

subscriptionPlans

Returns a list of currently available subscription plans

syncStats

Non-null

syncStatsToConnector

Non-null

tagsInBuyersGuide

[ String !]!
Non-null

testAI2

Non-null

Test AI functionality with optional chat ID and message

testOtelError

Non-null

Internal test query that throws an error to verify OTel error tracing

theme

Returns a theme entity

themes

Non-null

Returns a paginated array of Themes

triggerJobs

Non-null

Returns pending/running Trigger.dev jobs and average runtimes for an organisation

uptimeRecords

Non-null

usageStatsSessions

Non-null

user

Non-null

Returns a User entity

version

Non-null

Returns the current version and environment type of the API

webhook

Query a webhook by ID

webhooks

Non-null

Query the list of registered webhooks