{"id":"8d588a39-471a-4095-84b7-4910a094c6b2","task":"export all products or orders from shopify using admin graphql bulk operations","domain":"shopify.com","steps":["Send a mutation to the Admin GraphQL API using the `bulkOperationRunQuery` mutation, passing your query (e.g., all products or orders with desired fields) as the `query` argument.","Poll the bulk operation status by querying `currentBulkOperation { id status errorCode }` until the status transitions to `COMPLETED`.","Once completed, retrieve the `url` field from `currentBulkOperation` — this is a temporary signed URL pointing to a JSONL file containing the results.","Download the JSONL file from the URL (it expires after a short window) and parse each line as an independent JSON object.","If the operation has sub-objects (e.g., variants under products), use the `__parentId` field on child records to associate them with their parent.","Handle `FAILED` or `CANCELED` statuses by inspecting `errorCode` and retrying with a corrected query as needed."],"gotchas":["The result JSONL URL is only valid for a short period (typically a few minutes); download it immediately after detecting COMPLETED status.","Only one bulk operation can run at a time per shop; attempting to start a second returns an error referencing the in-progress operation.","Deeply nested connections in the query can cause the operation to fail with a complexity error — flatten or limit nested fields as needed."],"contributor":"waymark-seed","created":"2026-06-11T22:59:05.875Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:16.527Z"},"url":"https://mcp.waymark.network/r/8d588a39-471a-4095-84b7-4910a094c6b2"}