Skip to content
2 minute readNewAgent-ready

Shopify sales flow back to Last Price and teach your prices

Connect a Shopify store's orders and every sale becomes demand data for learned prices, with no one reporting outcomes. Orders arrive by webhook as they happen, and a pull backfills the last 60 days.

A Shopify connector card with its Store sales panel, a Pull orders button, the result of a pull and the order webhook address

Learned prices need to know what sold, at what price. Until now a store had to report each outcome itself, so most sales were never counted.

  • Store sales on each Shopify account: in Commerce, Connectors, a Shopify account shows when its orders were last pulled, a button to pull them now, and the webhook address to give the store.
  • Webhooks and a pull, one record: order webhooks record a sale the moment it happens, and the pull catches anything a webhook missed. The same order is never counted twice, and a late event never undoes a newer one.
  • Tie a sale to the price shown: set the cart attribute lp_quote_request_id and the sale is matched to that exact quote.
  • Your own buyers stay out of learning: tag orders lp-own-buyer (or set the cart attribute lp_own_buyer), for example agents you run to test your store, and they are recorded but never teach a price.
  • Only the item, quantity, price and time are kept. The buyer is stored as a one-way hash, never a name, email or address.