Metafield
Read and write custom metadata (metafields) attached to store resources.
Metafields let merchants and apps attach custom, structured data to shop-level records and to resources such as products, orders, customers, collections, and pages, extending the default data model with namespaced key/value pairs.
Provides endpoints to list, get, create, update, delete, and count shop metafields, and to manage metafields attached to other owner resources.
List shop metafields
List metafields attached to the current shop.
Create shop metafield
Create a new metafield for the current shop.
Get shop metafield
Get details of a specific shop metafield.
Delete shop metafield
Delete a shop metafield by ID.
Update shop metafield
Update an existing shop metafield.
Get shop metafield count
Get the total number of shop metafields.
List metafields
List metafields of a specific resource.
Create metafield
Create a metafield for the specified resource.
Get metafield
Get a metafield by ID.
Delete metafield
Delete a metafield by ID.
Update metafield
Update a metafield of the specified resource.
Get metafield count
Get the metafield count of a specific resource.