---
title: app import custom-data-definitions
description: Import metafield and metaobject definitions from your development store.
source_url:
  html: >-
    https://shopify.dev/docs/api/shopify-cli/app/app-import-custom-data-definitions
  md: >-
    https://shopify.dev/docs/api/shopify-cli/app/app-import-custom-data-definitions.md
api_name: shopify-cli
---

# app import custom-data-definitions

Import metafield and metaobject definitions from your development store. [Read more about declarative custom data definitions](https://shopify.dev/docs/apps/build/custom-data/declarative-custom-data-definitions).

#### Flags

The following flags are available for the `app import custom-data-definitions` command:

* **--auth-alias \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_AUTH\_ALIAS**

  Alias of the Shopify account to use for authentication.

* **--client-id \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_CLIENT\_ID**

  The Client ID of your app.

* **--include-existing**

  **env: SHOPIFY\_FLAG\_INCLUDE\_EXISTING**

  Include existing declared definitions in the output.

* **--json-schema**

  **env: SHOPIFY\_FLAG\_JSON\_SCHEMA**

  Print the command's JSON schemas.

* **--no-color**

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

  Disable color output.

* **--no-input**

  **env: SHOPIFY\_FLAG\_NO\_INPUT**

  Disable interactive prompts and browser authentication.

* **--path \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_PATH**

  The path to your app directory.

* **--reset**

  **env: SHOPIFY\_FLAG\_RESET**

  Reset all your settings.

* **--verbose**

  **env: SHOPIFY\_FLAG\_VERBOSE**

  Increase the verbosity of the output. May include sensitive data.

* **-c, --config \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_APP\_CONFIG**

  The name of the app configuration.

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

  **string**

  **env: SHOPIFY\_FLAG\_STORE**

  Store URL. Must be an existing development or Shopify Plus sandbox store.

### Examples

* #### App import custom-data-definitions

  ##### app import custom-data-definitions

  ```sh
  shopify app import custom-data-definitions [flags]
  ```

***
