Menu
job
The status of a background job started by an async mutation (e.g. a bulk delete) — poll until `done`.
Use it in a workflow
- Add a step and choose the Shopify connector.
- Pick the job action (under Job).
- Fill in the fields below, then reference the result from later steps as
{{job.response.data}}.
Query
This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.
query Job($id: ID!) {
job(id: $id) {
done
id
query {
appDiscountTypes {
app
appBridge
appKey
description
discountClass
discountClasses
functionId
targetType
title
}
availableBackupRegions {
id
name
}
availableCarrierServices {
carrierService
locations
}
availableLocales {
isoCode
name
}
backupRegion {
id
name
}
businessEntities {
address
archived
companyName
displayName
id
legalEntityId
primary
shopifyPaymentsAccount
}
catalogOperations {
id
processedRowCount
rowCount
status
}
collectionConditionMetafieldDefinitions {
description
id
key
name
namespace
ownerType
type
validations
}
collectionRulesConditions {
allowedRelations
defaultRelation
ruleObject
ruleType
}
consentPolicyRegions {
countryCode
regionCode
}
currentAppInstallation {
accessScopes
activeSubscriptions
app
channel
id
launchUrl
publication
subscriptions
uninstallUrl
}
currentStaffMember {
accountType
active
email
exists
firstName
id
initials
isShopOwner
lastName
locale
name
phone
privateData
}
deliveryPromiseSettings {
deliveryDatesEnabled
processingTime
}
financeAppAccessPolicy {
access
}
financeKycInformation {
businessAddress
businessType
industry
legalName
shopOwner
taxIdentification
}
fulfillmentConstraintRules {
deliveryMethodTypes
function
id
}
giftCardConfiguration {
expirationConfiguration
issueLimit
purchaseLimit
}
inventoryProperties {
quantityNames
}
locationsAvailableForDeliveryProfiles {
activatable
address
addressVerified
createdAt
deactivatable
deactivatedAt
deletable
fulfillmentService
fulfillsOnlineOrders
hasActiveInventory
hasUnfulfilledOrders
id
isActive
isFulfillmentService
isPrimary
legacyResourceId
localPickupSettingsV2
name
shipsInventory
suggestedAddresses
updatedAt
}
metafieldDefinitionTypes {
category
name
supportedValidations
supportsDefinitionMigrations
valueType
}
onlineStore {
passwordProtection
}
pendingOrdersCount {
count
precision
}
primaryMarket {
catalogsCount
conditions
currencySettings
delivery
discountsCount
enabled
handle
id
name
priceInclusions
priceList
primary
status
type
webPresence
}
privacySettings {
banner
dataSaleOptOutPage
privacyPolicy
}
publicApiVersions {
displayName
handle
supported
}
serverPixel {
id
status
webhookEndpointAddress
}
shop {
accountOwner
alerts
allProductCategories
allProductCategoriesList
analyticsToken
billingAddress
channelDefinitionsForInstalledChannels
checkoutApiSupported
contactEmail
countriesInShippingZones
createdAt
currencyCode
currencyFormats
customerAccounts
customerAccountsV2
description
domains
email
enabledPresentmentCurrencies
entitlements
features
fulfillmentServices
ianaTimezone
id
limitedPendingOrderCount
marketingSmsConsentEnabledAtCheckout
merchantApprovalSignals
myshopifyDomain
name
navigationSettings
orderNumberFormatPrefix
orderNumberFormatSuffix
paymentSettings
plan
primaryDomain
publicationCount
resourceLimits
richTextEditorUrl
searchFilters
setupRequired
shipsToCountries
shopAddress
shopOwnerName
shopPolicies
storefrontUrl
taxShipping
taxesIncluded
timezoneAbbreviation
timezoneOffset
timezoneOffsetMinutes
transactionalSmsDisabled
unitSystem
updatedAt
url
weightUnit
}
shopBillingPreferences {
currency
}
shopifyPaymentsAccount {
accountOpenerName
activated
balance
chargeStatementDescriptor
chargeStatementDescriptors
country
defaultCurrency
id
onboardable
payoutSchedule
payoutStatementDescriptor
}
storeCreditConfiguration {
storeCreditEnabled
}
taxonomy
}
}
}
Variables
Pass these as a JSON object in the step's Variables field.
{
"id": "string"
}
Response
Read the result with {{job.response.data.data.job}}. If the API returns errors, the step fails and they are at {{job.response.data.errors}}.
Need more? See the Shopify guide for connection setup and behaviour shared by every action.
Was this page helpful?