---
title: CustomDataAccessInput - Shop Partners API
description: |-
  Access for Shop Custom Data primitives is composed of AccessGrants and/or a default permission that applies
  to any client using the API.

  AccessInput defines a set of AccessGrants and/or a default permission level.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataAccessInput
  md: https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataAccessInput.md
---

# Custom​Data​Access​Input

input\_object

Access for Shop Custom Data primitives is composed of AccessGrants and/or a default permission that applies to any client using the API.

AccessInput defines a set of AccessGrants and/or a default permission level.

## Fields

* default

  [Custom​Data​Access​Permission​Type](https://shopify.dev/docs/api/shop-partners/latest/enums/CustomDataAccessPermissionType)

* grants

  [\[Custom​Data​Access​Grant​Input!\]](https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataAccessGrantInput)

***

## Mutations using this input

* [metafield​Access​Grant.access](https://shopify.dev/docs/api/shop-partners/latest/mutations/metafieldAccessGrant#arguments-access)

  ARGUMENT

***

## Input objects using this input

* [Metafield​Definition​Create​Input.access](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionCreateInput#fields-access)

  INPUT OBJECT

  Set of inputs to the metafieldDefinitionCreate Mutation.

* [Metafield​Definition​Update​Input.access](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionUpdateInput#fields-access)

  INPUT OBJECT

  Set of inputs to the metafieldDefinitionUpdate Mutation.

* [Metafield​Namespace​Create​Input.access](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldNamespaceCreateInput#fields-access)

  INPUT OBJECT

  Set of inputs to the metafieldNamespaceCreate Mutation.

* [Metafield​Namespace​Update​Input.access](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldNamespaceUpdateInput#fields-access)

  INPUT OBJECT

  Set of inputs to the metafieldNamespaceUpdate Mutation.

***

## Map

### Mutations using this input

* [metafield​Access​Grant.access](https://shopify.dev/docs/api/shop-partners/latest/mutations/metafieldAccessGrant#arguments-access)

### Input objects using this input

* [Metafield​Definition​Create​Input.access](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionCreateInput#fields-access)
* [Metafield​Definition​Update​Input.access](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionUpdateInput#fields-access)
* [Metafield​Namespace​Create​Input.access](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldNamespaceCreateInput#fields-access)
* [Metafield​Namespace​Update​Input.access](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldNamespaceUpdateInput#fields-access)