Event-driven Etsy inventory refresh on order webhooks #27

Open
opened 2026-08-20 23:30:16 -06:00 by angel · 0 comments
Owner

Etsy has no inventory webhook, but every order webhook (#25, #8) tells us which shop/receipt was affected. On receiving order.paid/order.canceled/order.shipped/order.delivered, fetch current inventory (GET .../listings/{listing_id}/inventory) for just the listings in that receipt and update our records immediately, rather than waiting on the periodic reconciliation poll (#28).

This is a complement to, not a replacement for, #28 - it only covers inventory changes caused by orders that flow through Etsy; manual listing edits, restocks, and refunds/returns (no dedicated webhook event for these) still need the periodic poll.

Etsy has no inventory webhook, but every order webhook (#25, #8) tells us which shop/receipt was affected. On receiving `order.paid`/`order.canceled`/`order.shipped`/`order.delivered`, fetch current inventory (`GET .../listings/{listing_id}/inventory`) for just the listings in that receipt and update our records immediately, rather than waiting on the periodic reconciliation poll (#28). This is a complement to, not a replacement for, #28 - it only covers inventory changes caused by orders that flow through Etsy; manual listing edits, restocks, and refunds/returns (no dedicated webhook event for these) still need the periodic poll.
angel added this to the Etsy Integration milestone 2026-08-20 23:30:16 -06:00
angel added this to the MVP project 2026-08-20 23:49:47 -06:00
Sign in to join this conversation.