Metafield
Retrieves meta fields belong to an resource with options.
get/admin/metafields.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)
fieldsstring
Show only certain fields, specified by a comma-separated list of field names.
namespacestring
Retrieves metafields with given namespace.
keystring
Retrieves metafields with given key.
value_typestring
Show only metafields with given value types. Valid values: string, integer, json_string
Response
OK
Example response
{
"metafields": [
{
"id": 632910392
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.