I am working on shopify private app . During some task adding some meta fields using shopify api method:
Add a metafield to an existing collection
PUT /admin/custom_collections/#{id}.json
{
"custom_collection": {
"id": 841564295,
"metafields": [
{
"key": "new",
"value": "newvalue",
"value_type": "string",
"namespace": "global"
}
]
}
}
========================================== next i need to get all collection meta fields but i did't found any solution.