Merk – re-sync all products

You can run this command on a single site, if sync issues have occurred. Usually the sync will only look for recent changes – but we can force a complete sync with the following methods:

# Delete the option that stores the last import date
# This is otherwise used to only sync things changed since last sync
wp option delete merk_api_import_last_date

# Run a sync like normal
# Should be done via CLI, and will take a long time
wp merk import products