NewPlatformDTC is in public betaPlatformDTC is in public beta — sign up and finish with a real store, no waitlist.Read the announcement →
← Changelog

v1.122

Undo for agent changes, and store events for agents

Undo what an agent changed, and let your own agent hear about orders, refunds, low stock and more the moment they happen.

  • Undo. In your agent activity, a change an agent made to a price, a product, a collection, a discount, a page, a menu, an email flow or an ad can be put back with Undo. If you or someone else changed the same thing again since, Undo leaves it alone so your later change is never erased. Messages that were sent, refunds and charges say they can't be undone.
  • Webhooks in plain words. Agents → Webhooks lists what you can be told about ("A new order comes in", "A product is running low on stock").

New for agents

  • Store events: order.created, order.paid, order.refunded, order.fulfilled, checkout.abandoned, inventory.low, customer.created, subscription.cancelled, review.created, ticket.created, approval.requested, approval.resolved, pushed to your webhook (signed, retried) or pulled with dtc_list_events. See Webhooks.
  • dtc_list_webhooks, dtc_create_webhook, dtc_delete_webhook without an operator key: store:write plus the read permission of each event, and the owner's yes for agent keys. dtc_get_low_stock_alert / dtc_set_low_stock_alert set when inventory.low fires.
  • dtc_undo_action puts back a change from the activity feed after the owner confirms.