---
title: CustomDataAccessGrantInput - Shop Partners API
description: Defines a single AccessGrant which is one_of(granteeId, grantee, or role) and a grant.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataAccessGrantInput
  md: https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataAccessGrantInput.md
---

# Custom​Data​Access​Grant​Input

input\_object

Defines a single AccessGrant which is one\_of(granteeId, grantee, or role) and a grant.

## Fields

* grant

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

* grantee

  [String](https://shopify.dev/docs/api/shop-partners/latest/scalars/String)

* grantee​Id

  [String](https://shopify.dev/docs/api/shop-partners/latest/scalars/String)

* role

  [String](https://shopify.dev/docs/api/shop-partners/latest/scalars/String)

***

## Input objects using this input

* [Custom​Data​Access​Input.grants](https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataAccessInput#fields-grants)

  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.

***

## Map

### Input objects using this input

* [Custom​Data​Access​Input.grants](https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataAccessInput#fields-grants)