Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
GOAL: receive details via API / webhook ONLY when items within an order have been updated. For example, a customer changes from model A to model B.
• Note: Shopify is already sending out notifications when an order is changed; Shopify sends out an email with the orders' updated details. This is currently found under Settings > Notifications > Order edited
It's great Shopify has developed the "Order edited" email notification but the issue is Shopify doesn't allow you to further build on the trigger "Order edited". There are certain automations we'd like to run when this happens, for example, updating our bookkeeping for accounting purposes.
I'm aware I can connect Zapier using the trigger "Order updated" but the issue with this is "order updated" is defined too broadly and ends up wasting a lot of our Zaps; for example, if...
• tag is added to an order
• employee post on the timeline of the order
• an order is partially fulfilled
• customer address, phone, or email is updated
All the above examples (and more) will trigger the "Order updated" via Zapier (and also the native webhooks offered by Shopify).
Is there any way I can specifically use a trigger when items in an order are updated and push the data via API or webhook? I'd think since Shopify is already doing this via their "Order edited" notification, it'd be pretty simple.
Or it'd be great if Shopify were to add this trigger within their already existing webhook list.
• Found when you go to: Setting > Notifications > (at the bottom of the page under 'Webhooks')
@admin_ben I've also been trying to figure out a way to achieve this with either Shopify Flow, Integromat, or Zapier but have come up empty handed every type of edit to the order triggers the automation. This is the workaround I've come up with while not ideal by a longshot (as it requires staff to remember to apply a tag after editing the order, and every single edit to an order still counts against the quota of zaps or operations) I'd be curious to know if anyone has a better suggestion or alternate approach for automating this specific scenario.
1. Order has line items manually edited in Shopify
2. Order is manually tagged with 'edited'
1. Automation Scans for updates to orders
2. Filter is in place that says to only process orders that contain the tags 'edited' and do not contain the tags 'processed'
3. Actions is performed (e.g send an email to bookkeeping)
4. Secondary action adds the tag 'processed' to the order so future updates (e.g. fulfillment) will not trigger the automation again.
Has there been an update on this from shopify? Is there a solution via the app? This had been very frustrating to keep accurate records. Thanks