---
title: store bulk execute
description: Execute bulk operations on a store.
source_url:
  html: 'https://shopify.dev/docs/api/shopify-cli/store/store-bulk-execute'
  md: 'https://shopify.dev/docs/api/shopify-cli/store/store-bulk-execute.md'
api_name: shopify-cli
---

# store bulk execute

Execute bulk operations on a store.

Executes an Admin API GraphQL query or mutation on the specified store as a bulk operation, using previously stored app authentication.

Run `shopify store auth` first to create stored auth for the store.

Bulk operations let you process large amounts of data asynchronously. Learn more about [bulk query operations](https://shopify.dev/docs/api/usage/bulk-operations/queries) and [bulk mutation operations](https://shopify.dev/docs/api/usage/bulk-operations/imports).

Mutations are disabled by default. Re-run with `--allow-mutations` if you intend to modify store data.

Use `shopify store bulk status` to check the status of your bulk operations.

#### Flags

The following flags are available for the `store bulk execute` command:

* **-s, --store \<value>**

  **string**

  **required**

  **env: SHOPIFY\_FLAG\_STORE**

  The myshopify.com domain of the store.

* **--allow-mutations**

  **env: SHOPIFY\_FLAG\_ALLOW\_MUTATIONS**

  Allow GraphQL mutations to run against the target store.

* **--no-color**

  **env: SHOPIFY\_FLAG\_NO\_COLOR**

  Disable color output.

* **--output-file \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_OUTPUT\_FILE**

  The file path where results should be written if --watch is specified. If not specified, results will be written to STDOUT.

* **--query-file \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_QUERY\_FILE**

  Path to a file containing the GraphQL query or mutation. Can't be used with --query.

* **--variable-file \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_VARIABLE\_FILE**

  Path to a file containing GraphQL variables in JSONL format (one JSON object per line). Can't be used with --variables.

* **--verbose**

  **env: SHOPIFY\_FLAG\_VERBOSE**

  Increase the verbosity of the output.

* **--version \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_VERSION**

  The API version to use for the bulk operation. If not specified, uses the latest stable version.

* **--watch**

  **env: SHOPIFY\_FLAG\_WATCH**

  Wait for bulk operation results before exiting. Defaults to false.

* **-q, --query \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_QUERY**

  The GraphQL query or mutation to run as a bulk operation.

* **-v, --variables \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_VARIABLES**

  The values for any GraphQL variables in your mutation, in JSON format. Can be specified multiple times.

Examples

### Examples

* ####

  ##### store bulk execute

  ```sh
  shopify store bulk execute [flags]
  ```

***
