current Bulk Operation
Returns the current app's most recent . Apps can run one bulk query and one bulk mutation operation at a time per shop.
The operation type parameter determines whether to retrieve the most recent query or mutation bulk operation. Use this query to check the operation's status, track its progress, and retrieve the result URL when it completes.
Arguments
- Anchor to typetype•Bulk
Operation Type Default:QUERY The current bulk operation's type.
Anchor to Possible returnsPossible returns
- Anchor to BulkOperationBulk•Bulk
Operation Operation An asynchronous operation that exports large datasets or imports data in bulk. Create bulk operations using bulkOperationRunQuery to export data or bulkOperationRunMutation to import data.
After creation, check the
statusfield to track progress. When completed, theurlfield contains a link to download results in JSONL format. Thefield shows the running total of processed objects, whiletracks only root-level objects in nested queries.If an operation fails but retrieves partial data, then the
field provides access to incomplete results.Noteurlandvalues expire after seven days.