Cancel and Refund Amazon Buy for Me Orders on Shopify

5 min setup
No coding required
Runs automatically

Amazon's Buy for Me agent can place orders on your Shopify store without asking you first, using an email address that contains buyforme.amazon. This workflow checks every new order for that address, cancels the matching ones, and refunds each line item, so the payment never captures and nothing ships to an order you didn't agree to.

Shopify logo icon
Shopify Order Created (Trigger)
Shopify Cancel Order
Loop
Shopify logo icon
Shopify Create Order Refund

How it works

5 steps to stop Amazon's Buy for Me agent from placing orders on your store

Shopify logo icon

Shopify Order Created (Trigger)

App connector: Shopify • Time to complete: 1 minute

Runs for every new order, from any sales channel.

Filter

App connector: Filter • Time to complete: 1 minute

Only continue if the order's email contains buyforme.amazon. Use contains rather than equals, since Amazon adds a unique id to each address.

Shopify Cancel Order

App connector: Shopify • Time to complete: 1 minute

Cancel the order with the reason Other, without emailing the customer.

Loop

App connector: Loop • Time to complete: 1 minute

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

Shopify logo icon

Shopify Create Order Refund

App connector: Shopify • Time to complete: 1 minute

Refund each line item's full quantity and price, so the payment authorization is released and nothing is captured.

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 stop Amazon's Buy for Me agent from placing orders on your store

Get setup in 5 minutes.

Use this template →

FAQs

Will this cancel orders from real customers?

Only if their email address contains buyforme.amazon. Amazon uses that text in every Buy for Me order email, and ordinary customer addresses don't include it.

Why refund after cancelling?

Cancelling a Shopify order doesn't always release the payment on its own. Refunding each line item makes sure no money is captured from the order.

Can I still sell on Amazon?

Yes. This only affects orders Amazon's agent places on your Shopify store. Your own Amazon seller listings aren't touched.

Personalize this template

Customize this workflow even further:

Tag the order first
Add an order tag such as amazon-buy-for-me before cancelling, so you can find and count blocked orders later.
Email Amazon an opt-out request
Add a Send Email step to ask Amazon's brand team to remove your store from Buy for Me.

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

stop Amazon's Buy for Me agent from placing orders on your store

5 min setup • Fully supported if you need help