• DOCUMENTATION
  • WORKATO BLOG
  • PRODUCT BLOG
  • Return to Workato
  • Log in
  • ☰
  • Community/Discussions
Solution home App Resources Shopify

Shopify : What are Metafields?

Modified on: Wed, Nov 30, 2016 at 11:59 PM

Metafields


Metafields are extra, hidden data in each objects or in your shopfront that informs you more about the object itself without revealing them. Some common example of using Metafields may be syncing Products fro Shopify to their Accounting systems, while others may want to track the performance or popularity of each product. A common way of editing metafields directly in Shopify itself is by using a Metafield Editor.


Metafields can be attached to the following objects: 

fasAHYhWw2Ekwz8Bd0yiTlyneFn_9paB6g.png



A metafield has a common structure of having :-


1. A namespace

A Namespace aids you in grouping various metafields in a more generic, superset relationships among selected metafields. This helps in distinguishes the types of metafields used and in what ways.


2. A key

A Key contains the name or label of the specific metafield. A good way of thinking about it is understanding it as an identifier.


3. A value

Self-evidently, the value is the actual value of the metafield itself.


4. A description. This may be optional

An optional field for you to better describe your metafield


Actions available in Workato that interact with Metafields are : 

Additions

Add metafield to objects

Supported objects : Product, Customer, Order, Product Variant. You may also toggle it to use your own object name.

Add metafield to Shop


Retrievals

Given an ID of the object, you will be able to retrieve a list item of metafields as its App Data output.

Get Object metafields

Get store metafields


Updates

The update actions requires an ID to modify its value. 

Update object metafield

update store metafield

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

Related Articles

    Still can't find your solution?

    Visit our forums to search for answers, or post your own questions.

    Documentation
    Developer's Library
    Tutorials
    eBooks
    Product Hour
    Product Blog
    Workato Blog
    Product updates
    Customer Stories
    © Workato 2020   Privacy   Terms   +1 (844) 469-6752
    • Documentation
    • Workato Blog
    • Product Blog
    • Solutions
    • Forums
    • Tickets
    • Log in
    • Return to Workato
    Article views count