Mutation Object
Fields
#
addProductsToProductGroup
Adds the given list of products to the product group, if they are not already part of the product group
aiGenerateBuyersGuideContext
Starts a background job to generate buyers guide context
aiGenerateBuyersGuideQuestions
Starts a background job to generate buyers guide questions
aiGenerateBuyersGuideTagProducts
Starts a background job to generate buyers guide tag products
createPaidOrder
deleteCheckoutFlowsUsingFilter
Allows deletion of checkout flows using a filter
deleteCloudshelvesUsingFilter
Allows deletion of cloudshelves using a filter
deleteLocationsUsingFilter
Allows deletion of locations using a filter
deleteRoles
Deletes custom roles by their IDs. Users assigned to deleted roles are reassigned to the specified replacement role. System roles cannot be deleted.
deleteSalesAssistants
Allows the deletion of sales assistants
deleteSalesAssistantsUsingFilter
Allows deletion of sales assistants using a filter
duplicateCheckoutFlowsUsingFilter
Allows duplication of checkout flows using a filter
duplicateCloudshelvesUsingFilter
Allows duplication of cloudshelves using a filter
duplicateThemesUsingFilter
Allows duplication of themes using a filter
evictUserByEmail
Removes a user's access from the current organisation by their email address.
forcePublishOrganisation
This is an internal function. This allows Cloudshelf staff to force publishing all entites for an organisation
keepKnownProductGroupsViaFile
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
Allows the user to provide a file with known products to keep, any other products already in their organisation will be deleted
keepKnownVariantsViaFile
Allows the user to provide a file with known variants to keep, any other variants already in their organisation will be deleted
registerWebhook
Register a webhook for a given subject. The supplied URL will be called with a POST request when the subject is triggered.
removeProductsFromProductGroup
Removes the given products from the product group, if they are currently part of it
runInternalTool
This is an internal function. This allows Cloudshelf staff to run internal tools
selectCurrentOrganisationAccess
Sets the users currently active organisation (actingAs), which is used to decide which organisations data is accessed in other queries.
setVariantEditableByPlatformIds
Set editable=true for variants NOT in platform IDs within a domain
unregisterWebhooks
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.
updateCloudshelfStaffRole
Updates a Cloudshelf internal staff role. Staff roles cannot be created or deleted via the API. Requires Cloudshelf staff permissions.
updateProductsInProductGroup
Sets the products in the product group to the given list of products
updateProductsInProductGroupInBatch
Sets the products in the product group to the given list of products
updateUserLastAccess
upsertCMSDevice
Upserts a device via CMS API. Creates if platformProvidedId does not exist, updates if it does. API key authentication only.
upsertRole
Creates or updates a custom role. System roles cannot be modified. When updating permissions, the provided list replaces all existing permissions.
upsertStockLevels
Upserts stock levels for product variants at specific locations.
upsertUserByEmail
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.
MobileHandoff
Order