Skip to content

How to Use the MERGE Command to Update Shopify Products

You can use the MERGE command in FlexSync to update Shopify products from Google Sheets. MERGE is the default command. It updates a product if it already exists in Shopify, and creates it if it does not. Use it for everyday bulk edits like prices, stock and tags.

MERGE, UPDATE or NEW?

CommandProduct exists in ShopifyProduct does not exist
MERGEUpdates itCreates it
UPDATEUpdates itNot created
NEWFails: “Product already exists”Creates it

Use UPDATE when you only want to change existing products and never create new ones by mistake. To create products on purpose, see how to add new products to Shopify.

Before you start

Step 1: Edit the product in your sheet

1. Open your sheet and go to the product export tab.

2. Find the product row. Leave the Command column on MERGE.

3. Change the values you need in the purple columns. You can update many Shopify products this way, one row per variant. In this example we changed the price from 19.99 to 24.99, the stock from 10 to 15, and added the tag sale.

MERGE command to update Shopify products: product row with the Command set to MERGE

The product row with MERGE, the new tag and the Tags Command set to MERGE

How tags are updated

Tags have their own command column, Tags Command. It decides what happens to the tags you type in the Tags column. Learn more about Shopify product tags.

Tags CommandWhat it doesExample: product has “test”, sheet says “sale”
REPLACEThe product gets exactly these tagsTags become: sale
MERGEAdds these tags and keeps the old onesTags become: test, sale
DELETERemoves these tags“sale” is removed if present

Tip: Image, Variant and Variant Barcodes have their own command columns too. Hover over each header in your sheet to see how it works.

Step 2: Check the changes

1. In Shopify admin, open FlexSync > Import / Export.

2. Click Check changes on the product export card.

3. The card shows 1 to update. In the sheet, the Import Comment says Will be updated.

FlexSync Check changes result showing 1 product to update

The check shows 1 product to update

Click See details to see the counts for each outcome.

FlexSync validation details with created and skipped counts

Check details. Each row result is also written to the sheet

Step 3: Import the changes to Shopify

1. Click Import changes.

2. Read the confirmation. It shows Updated: 1.

3. Tick Skip stock columns if you do not want to change stock in Shopify.

4. Click Import.

FlexSync import confirmation showing Updated 1 and the stock warning

The import confirmation for an update

Important: Importing overwrites Shopify stock with the numbers in your sheet. If orders came in after your export, the stock in your sheet may be out of date. An empty stock cell removes the variant from that location. Tick Skip stock columns to be safe, or export again before you edit.

When it finishes, the card shows Import: 1 updated.

FlexSync import finished showing 1 product updated

The update is done

Step 4: Check the product in Shopify

Open the product in Shopify admin to confirm the MERGE command updated your Shopify products. The tags are now test and sale, the price is 24.99 and the stock is 15.

Shopify product updated from Google Sheets with new tags, price and stock

The updated tags, price and stock in Shopify

FAQ

Does the MERGE command change Shopify products I did not edit?

Unchanged rows are sent as they are. If Shopify changed since your export, those values can be overwritten. To leave a product alone, set its Command to IGNORE, or export again before you edit.

Why did my edit do nothing?

Check that you edited a purple column. Grey columns are for reference only. If you changed stock, check that the variant tracks inventory in Shopify. To show more columns, see how to configure columns and filters.

How do I remove a product instead?

Set its Command to DELETE. See how to delete Shopify products from Google Sheets.