ADO.NET Provider for Shopify

Build 26.0.9655

EnableStandardMetafieldDefinition

Enables a standard metafield definition from a provided template.

Input

Name Type Required Description
Id String False The identifier of the standard metafield definition template to enable.
Namespace String False The namespace of the standard metafield to enable. Must be provided along with the key.
Key String False The key of the standard metafield to enable. Must be provided along with the namespace.
OwnerType String True The Shopify resource type (such as Product, Collection, or Customer) that the metafield definition is scoped to.
UseAsCollectionCondition Boolean False Specifies whether this metafield definition can be used as a condition when creating automated collections.
Pin Boolean True Specifies whether the metafield definition should be pinned for easier visibility in the Shopify Admin.
AccessAdmin String False Defines the Admin API access level for metafields created under this definition.
AccessCustomerAccount String False Defines the Customer Account API access level for metafields created under this definition.
AccessStorefront String False Defines the Storefront API access level for metafields created under this definition.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation to enable the metafield definition was successful.
Details String Additional information about the outcome of the operation.
Id String The globally unique identifier of the enabled metafield definition.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655