Metafield
Retrieves count meta fields belong to an resource with options.
get/admin/metafields/count.json
Request
- Base URLhttps://shop-name.onshopbase.com
- AuthAPI key in header APP_ACCESS_TOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitinteger
Return up to this many results per page. (default: 50, maximum: 250).
since_idinteger
Restrict results to after the specified ID.
created_at_minstring
Show metafields created after date. (format: 2014-04-25T16:15:47-04:00)
created_at_maxstring
Show metafields created before date. (format: 2014-04-25T16:15:47-04:00)
updated_at_minstring
Show metafields last updated after date. (format: 2014-04-25T16:15:47-04:00)
updated_at_maxstring
Show metafields last updated before date. (format: 2014-04-25T16:15:47-04:00)
namespacestring
Counts metafields with given namespace.
keystring
Counts metafields with given key.
value_typestring
Counts only metafields with given value types. Valid values: string, integer, json_string
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.