JDBC Driver for Shopify

Build 25.0.9434

EnableStandardMetafieldDefinition

Enables a standard metafield definition from a provided template.

Input

Name Type Description
Id String The identifier of the standard metafield definition template to enable.
Namespace String The namespace of the standard metafield to enable. Must be provided along with the key.
Key String The key of the standard metafield to enable. Must be provided along with the namespace.
OwnerType String The Shopify resource type (such as Product, Collection, or Customer) that the metafield definition is scoped to.
UseAsCollectionCondition Boolean Specifies whether this metafield definition can be used as a condition when creating automated collections.
Pin Boolean Specifies whether the metafield definition should be pinned for easier visibility in the Shopify Admin.
AccessAdmin String Defines the Admin API access level for metafields created under this definition.
AccessCustomerAccount String Defines the Customer Account API access level for metafields created under this definition.
AccessStorefront String 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) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434