Skip to main content
object

Shop API for Partners

•[ShopVideo!]!
non-null

Retrieve active shop videos for a given entity

Arguments

•ID!
required

The Product or ProductVariant ID in GID format (e.g., gid://shopify/Product/123 or gid://shopify/ProductVariant/456)


•MetafieldDefinition

Retrieve a single metafield definition by identifier

Arguments

•CustomDataKeyPairInput!
required

Key and namespace pair that together form the path to the definition. Key is required, Namespace defaults to the Client's implicit, reserved namespace if not provided. Leave blank to see everything available to the client.


Anchor to metafieldDefinitionsmetafieldDefinitions
•MetafieldDefinitionConnection!
non-null

List of metafield_definitions

Arguments

•String

Returns the elements that come after the specified cursor.

•String

Returns the elements that come before the specified cursor.

•Int

Returns up to the first n elements from the list.

•[CustomDataKeyPairInput!]
Default:[]

Key and namespace pair that together form the path to the definition. Key is required, Namespace defaults to the Client's implicit, reserved namespace if not provided. Leave blank to see everything available to the client.

•Int

Returns up to the last n elements from the list.

•Boolean

Reverse the order of the underlying list.

•MetafieldPermissibleSortKeys
Default:KEY

Sort the underlying listing by the given key.



Was this section helpful?