How to delete metafields in bulk with data import

Modified on Sat, 11 May 2024 at 09:09 PM

As mentioned in the main article, you can delete metafields using the "delete empty metafields" option:

This option comes in handy for those of our users who prefer managing data with CSV spreadsheets. Let's see how to use it in detail. First of all, you need to prepare a CSV spreadsheet with the following columns:

1) resource identifier (product ID, collection ID, order ID, product handle, etc).

2) metafield namespace.

3) metafield key

4) metafield value (leave it empty if you want a metafield to be removed, otherwise existing metafield with the same namespace and key combination will be updated with the value from a CSV file).

This option is compatible with both file formats:

1) the "rows" 

2) the  "columns"

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article