For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Developer
Developer
Search docs
/
Ask AI
Dev Portal
Docs
API Reference
Learn
Community
Changelog
GraphQL
Admin
Types
Inputs
CreateMetafieldInput
INPUT
Copy page
Input fields
namespace
String
Required
Namespace for the metafield.
key
String
Required
The name of the metafield.
value
String
Required
Value of the metafield.
permissionSet
MetafieldsPermissionSet
Required
Determines the visibility and writeability of the field by other API consumers.
Allowed values:
APP_ONLY
READ
READ_AND_SF_ACCESS
WRITE
WRITE_AND_SF_ACCESS
resourceId
String
Optional
The unique identifier for the resource with which the metafield is associated.
description
String
Optional
Description of the metafield.
Referenced by
Mutations
createMetafield(input)