---
title: CustomDataRelativeAccessGrantType - Shop Partners API
description: |-
  Defines an AccessGrant by relative path using a key a Client has access to, to represent access to a Custom
  Data Primitive.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-partners/latest/objects/CustomDataRelativeAccessGrantType
  md: https://shopify.dev/docs/api/shop-partners/latest/objects/CustomDataRelativeAccessGrantType.md
---

# Custom​Data​Relative​Access​Grant​Type

object

Defines an AccessGrant by relative path using a key a Client has access to, to represent access to a Custom Data Primitive.

## Fields

* grant

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

  non-null

  Level of Access: (READ, READ\_WRITE, ADMIN).

* grantee

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

  non-null

  Key of Namespace or MetaObject in your schema.

***

## Map

### Possible type in

* [Custom​Data​Access​Grant​Type](https://shopify.dev/docs/api/shop-partners/latest/unions/CustomDataAccessGrantType)