Bulk create/update shop metafields

dragonborngem
Shopify Partner
4 0 1

Hi, I have some problems for create/update multiple meta fields for shop object, 

As in document here

https://shopify.dev/tutorials/manage-metafields-with-graphql-admin-api#updating-the-owning-resource,

I can create or multi metafields for product/collection/orders ... but I haven't found anyway to do thing like this for shop object

So, is there anyway / trick so I  can do this in GraphQL API / REST API ?

Thank a lot !

Replies 2 (2)

Gregarican
Shopify Partner
1033 86 285

While I don't see this functionality available in the REST API, perhaps the GraphQL API will allow at least queries --> https://shopify.dev/docs/admin-api/graphql/reference/object/shop?api[version]=2020-04#fields-2020-04. Unsure if create/edit functionality is there, however.

dragonborngem
Shopify Partner
4 0 1

Yeah, there is a way to get all shop metafileds, but i found no way to create/update them. Only create/update private metafields 😞