younifyd
Menu

bulkOperation

The current bulk operation for this app — poll its `status` and download the JSONL result from its `url`.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the bulkOperation action (under Bulk).
  3. Fill in the fields below, then reference the result from later steps as {{bulkoperation.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.

graphql
query BulkOperation($id: ID!) {
  bulkOperation(id: $id) {
    completedAt
    createdAt
    errorCode
    fileSize
    id
    objectCount
    partialDataUrl
    query
    rootObjectCount
    status
    type
    url
  }
}

Variables

Pass these as a JSON object in the step's Variables field.

idstringrequired

The ID of the `BulkOperation` to return.

json
{
  "id": "string"
}

Response

Read the result with {{bulkoperation.response.data.data.bulkOperation}}. If the API returns errors, the step fails and they are at {{bulkoperation.response.data.errors}}.

completedAtstring
createdAtstring
errorCodestring

One ofACCESS_DENIEDINTERNAL_SERVER_ERRORTIMEOUT

fileSizestring
idstring
objectCountstring
partialDataUrlstring
querystring
rootObjectCountstring
statusstring

One ofCANCELEDCANCELINGCOMPLETEDCREATEDEXPIREDFAILEDRUNNING

typestring

One ofQUERYMUTATION

urlstring

Need more? See the Shopify guide for connection setup and behaviour shared by every action.

Was this page helpful?
bulkOperation — Shopify — Documentation