Connect with custom created metafields via API

Hi!

I was wondering if it is possible to use the Shopify API to attach text to an existing metafield created in the backend of Shopify?

For instance, I have created a metafield in my admin panel on my Shop with the namespace “test” and key “test_key” as a rich text field and it is all added to my products.

Now, when I create a product using the API with a simple post requests, can I somehow make a second API call (a put request I would assume?) to fill in text to this metafield? And if so can anyone tell me how and maybe with a small example if possible?

Thanks in advance!

Hey Krestenn,

Creating meta fields for the Shopify store using API can be done by custom app, using PHP language. To create an app need store access and server hosting details.

Thank You