HasMetafields
Represents information about the metafields associated to the specified resource.
Anchor to Fields and connectionsFields and connections
- Anchor to metafieldmetafield•
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
Deprecated fields and connections
- Anchor to privateMetafieldprivate•
Metafield PrivateMetafield Deprecated Returns a private metafield by namespace and key that belongs to the resource. Metafields created using a reserved namespace are private by default. See our guide for migrating private metafields.
- Anchor to privateMetafieldsprivate•
Metafields List of private metafields that belong to the resource. Metafields created using a reserved namespace are private by default. See our guide for migrating private metafields.
Anchor to Types implemented inTypes implemented in
- •OBJECT
- •OBJECT
- •OBJECT
- •OBJECT
- •OBJECT
- •OBJECT
- •OBJECT
- •OBJECT
{
"metafield": {
"namespace": "",
"key": ""
},
"metafields": {
"namespace": "",
"keys": "",
"first": "",
"after": "",
"last": "",
"before": "",
"reverse": ""
},
"privateMetafield": {
"namespace": "",
"key": ""
},
"privateMetafields": {
"namespace": "",
"first": "",
"after": "",
"last": "",
"before": "",
"reverse": ""
}
}
interface HasMetafields {
metafield: Metafield
privateMetafield: PrivateMetafield
}