Swap the Product on the First Shopify Subscriptions Order Only

7 min setup
No coding required
Runs automatically

Some subscriptions need a different first box: a full bottle or starter kit up front, then refills on every renewal. Shopify Subscriptions renews the product the customer subscribed to, so the first order has to be changed by hand. This workflow takes the order that started each new subscription from Shopify Flow, swaps the refill SKU for the starter SKU at the same quantity, and tags the order, leaving every renewal untouched.

Shopify Flow logo icon
Shopify Flow sends the order that started a subscription
Shopify logo icon
Find the starter product variant by its SKU
Shopify logo icon
Swap in the starter item with a Shopify order edit
Shopify logo icon
Save the Shopify order edit without notifying
Shopify logo icon
Tag the Shopify order starter-swapped

How it works

7 steps to ship a starter product first and refills after

Shopify Flow logo icon

Shopify Flow sends the order that started a subscription

App connector: Shopify Flow • Time to complete: 1 minute

In Shopify Flow, start from the Subscription contract created trigger, check that the contract has an origin order, and add MESA's Send Order action with the contract's origin order ID, pointing at this workflow.

Go through the first order's line items

App connector: Loop • Time to complete: 1 minute

Go through the order's line items one at a time.

Keep unfulfilled items with the refill SKU

App connector: Filter • Time to complete: 1 minute

Continue only for a line item whose SKU matches the refill SKU and that is not yet fulfilled.

Shopify logo icon

Find the starter product variant by its SKU

App connector: Shopify • Time to complete: 1 minute

Look up the starter variant (for example the full bottle) by its SKU to get its variant ID.

Shopify logo icon

Swap in the starter item with a Shopify order edit

App connector: Shopify • Time to complete: 1 minute

Run an order edit: begin the edit, set the refill line item's quantity to 0, and add the starter variant at the same quantity. Return the calculated order ID.

Shopify logo icon

Save the Shopify order edit without notifying

App connector: Shopify • Time to complete: 1 minute

Commit the order edit with the calculated order ID, without notifying the customer.

Shopify logo icon

Tag the Shopify order starter-swapped

App connector: Shopify • Time to complete: 1 minute

Tag the order starter-swapped so your team can see which first orders were changed.

Trusted by 1,000+ merchants
Logo: Rothy's Logo: Adidas Logo: Allure Logo: GQ Logo: DraftKings Logo: Chubbies Logo: Made In Cookware Logo: MUD/WTR

Ready to ship a starter product first and refills after

Get setup in 7 minutes.

Use this template →

FAQs

Will renewal orders change too?

No. The workflow only runs on the order that created a subscription contract. Renewals are created from the contract, which still holds the refill product, so they ship the refill.

What if the starter and refill have different prices?

Shopify recalculates the order with the starter's price. Keep the two variants at the same price, or add a discount to the new line item in the order edit so the customer pays what they agreed to at checkout.

Why start from Shopify Flow?

Flow's Subscription contract created trigger knows which order started the subscription, so MESA edits that order and nothing else. Check the flow in Shopify Flow's run history after a test order before relying on it.

What if a customer starts a second subscription later?

A new contract has its own first order, so it also gets the starter product. Add a customer tag check in Flow if returning subscribers should get the refill straight away.

Personalize this template

Customize this workflow even further:

Handle more than one subscription product
Replace the filter with a logic step that maps each refill SKU to its starter SKU.
Tell the customer what's in the first box
Set the order edit to notify the customer, or add an email step that explains the starter product.

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

ship a starter product first and refills after

7 min setup • Fully supported if you need help