metafieldDefinitions
QueryRetrieves metafield definitions data.
Arguments
- String
after Returns the elements in the list that come after the specified cursor.
- String
before Returns the elements in the list that come before the specified cursor.
- Int
first Returns the first n elements from the list.
- Int
last Returns the last n elements from the list.
- String
namespace The namespace used by this operation.
- MetafieldOwnerType
ownerType The owner type used by this operation.
Possible enum valuesCATEGORYA category can own the metafield.
COLLECTIONA collection can own the metafield.
CUSTOMERA customer can own the metafield.
ORDERAn order can own the metafield.
PRODUCTA product can own the metafield.
PRODUCT_ATTRIBUTEA product attribute can own the metafield.
PRODUCT_ATTRIBUTE_VALUEA product attribute value can own the metafield.
PRODUCT_VARIANTA product variant can own the metafield.
Payload
- [MetafieldDefinitionEdge!]
edges A list of edges.
- [MetafieldDefinition!]
nodes A flattened list of the nodes
- PageInfo!
pageInfo Information to aid in pagination.
- Int!
totalCount Identifies the total count of items in the connection.