We can choose single/multiple values values in a single metafield when add a metafield definition.
I’d like to get whether the metafield allows multiple values or not by GraphQL MetafieldDefinition API.
I tried query like this
query {
metafieldDefinitions(first: 10, ownerType: ORDER) {
edges {
node {
id
key
namespace
name
metafieldsCount
type {
category
}
}
}
}
}
and the response was
"node": {
"id": "gid://shopify/MetafieldDefinition/786366676",
"key": "_int_array",
"namespace": "custom",
"name": "整数のリスト",
"metafieldsCount": 1,
"type": {
"category": "NUMBER"
}
}
},
How can I get any information of it’s single or multiplue?