Metafield Tip: Don't Bother With Modify When Updating Products

Been spending some time looking into metafields.

Here’s something worth knowing to make your life easier.

When updating metafields on a product, turns out Create acts like Modify or Create if it doesn’t exist. As long as the namespace and key match an existing metafield on the product, the value will be updated, otherwise it will be created.

If you know of a good case when to use the Modify call, I’d love to hear it.