I am trying to make a module that has two parts:
1) It calls an API when article is set to published. The API returns a work id.
2) The workid must be saved to the articles metadata or something similar so that another function uses that id to display specific html in that article.
I am done with the first part. Now I want to know how to save workid in the metadata, is there any option for that in drupal? because I have done this kind of work in joomla.