All things Shopify and commerce
I have been tasked with adding a custom tracking profile to each product added to the store, so that we can follow the life cycle of new products based on an Invoice number of how the were received into the store.
For Example:
Invoice from Company XYZ - ID: 001
- Item 1 - ID: 00a1
- Item 2 - ID: 00a2
- Item 3 - ID: 00a3
I need to store in the product:
InvoiceID: 001
InvoiceItemID: 00a1
So that when it is purchased, I can track the item from a specific Invoice all the way through to the point of sale. And I will be doing so through REST API access.
I have read that I need to use the Metafield Editor, but I cannot find that where it tells me that it is supposed to be (Settings -> Metafield Editor)
Does anyone have the info on how to access this editor? Or if it does not exist anymore - how I can accomplish this task?
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hello @Wasaabi
To edit metafields you'll either need to use the REST API directly or use an app. There are several Metafield apps in the app store, many are free.
If you want to automate this, perhaps using something like Integromat or Zapier as they both offer automated workflows and shopify API connections.
This is an accepted solution.
Hello @Wasaabi
To edit metafields you'll either need to use the REST API directly or use an app. There are several Metafield apps in the app store, many are free.
If you want to automate this, perhaps using something like Integromat or Zapier as they both offer automated workflows and shopify API connections.
@Dynasort I did not see in the REST API docs where I could create meta fields using that method.
Just to clarify - If I use the REST API to create or update products, I can add and modify the Meta fields and values ad-hoc? Because if this is the case - then it answers my question perfectly!
Thanks!
@Wasaabi You bet. Here's the endpoints for all Shopify objects that have metafield values, along with descriptions on the API calls:
https://shopify.dev/docs/admin-api/rest/reference/metafield
Keep it easy and download a metafields app.
youll be able to create custom fields for public and/or private.
you can the use https://apps.shopify.com/specification-charts to display the public custom fields on the product pages.
Hi @Wasaabi,
Though I'm not 100% sure I understand what you're trying to accomplish, nevertheless Metafields Editor is an app, which you can install on your store and access directly through the Apps menu link. You will be able to create and update fields for each product (collection, customer, order, etc) from there.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024