With the recent changes (https://shopify.dev/changelog/online-store-2-0-new-metafields-type-system-and-dynamic-sources), the "value_type" field is deprecated and is replaced by the "type" field. "value_type" when used as a query parameter, returned only the records that matched certain value.
For example, /metafields.json?value_type=integer - returns records with value_type as integer.
But, /metafields.json?type=single_line_text_field - returns all the metafield records.
What is the expected behavior and can we use "type" as a query parameter?
Solved! Go to the solution