You
Create a warehouse called Dallas at 2200 Irving Blvd, Dallas, TX 75207, with zip code rule of 7*,8* and an identifier of Dallas
Tool
warehouse_search, then warehouse_create (first call: preview and confirmation token; nothing written)
AI agent
No existing Dallas warehouse. Preview of what will be created: Name Dallas; Identifier Dallas; Address 2200 Irving Blvd, Dallas, TX 75207, US; Zip rules 7* and 8*, turned on. With zip rules on, this warehouse will only fill orders shipping to zips that start with 7 or 8. Confirm and I'll create it.
AI agent
The Dallas warehouse is created as warehouse ID 18 and I checked that it saved correctly. The identifier is Dallas, the address is 2200 Irving Blvd, Dallas, TX 75207, US, and the 7* and 8* zip rules are on.
You
Create a product: SKU LT-900, Headlamp 900 lumen, price 49.00, UPC 812349000900, 6 oz.
AI agent
LT-900 doesn't exist yet, so this will create a new product: SKU LT-900, Title Headlamp 900 lumen, Price 49.00, UPC 812349000900, Ship weight 6 oz. The UPC 812349000900 fails the UPC-A check digit test. For the first 11 digits (81234900090), the check digit should be 6, which would make the UPC 812349000906, not a final 0. Marketplaces that validate UPCs will reject this one. Should I create it with 812349000900 as given, or use 812349000906?
Tool
products_create (previewed and confirmed), then pim_sku_get
AI agent
LT-900 was created ("Product Created"). A price lookup confirms 49.00.
You
Receive 30 units of LT-900 into Dallas and 12 into Reno.
Tool
warehouse_search, then inventory_set_bulk (preview)
AI agent
This will add the following LT-900 stock, which then syncs to every connected channel: Dallas (warehouse 18) +30; Reno (warehouse 14) +12. Confirm and I'll run it.
AI agent
Both rows went through. LT-900 now has 30 units in Dallas and 12 in Reno, 42 in total.
You
Create a manual order for Priya Nair, 1900 Commerce St, Dallas, TX 75201 (use for both shipping and billing), priya@example.com, 2 x LT-900 at 49.00, ground shipping 9.00, dated now.
Tool
order_create (first call: preview and confirmation token)
AI agent
Here's the manual order ready to create. Source Manual; Customer Priya Nair; Ship to and bill to 1900 Commerce St, Dallas, TX 75201, US; Items 2 x LT-900 Headlamp 900 lumen at 49.00 = 98.00; Shipping Ground 9.00; Tax 0.00; Order total 107.00. The 75201 ship-to zip matches the 7* rule on both Dallas and Reno, so either warehouse could fill it. Confirm and I'll create it.
You
Which warehouse did that order route to and why?
AI agent
That order hasn't been created yet, so it hasn't routed anywhere. The last step was a preview waiting for your confirmation. Once you confirm, I'll create it and pull its routing explanation to show which warehouse filled each line and why. Should I create it as previewed?
Tool
order_create (with the token), then order_warehouse_routing_explanation_get
AI agent
Order 103481 was created, and both units of LT-900 routed to Dallas. The account is set to fill orders by zip code distance, so warehouses are tried nearest to the ship-to zip first. Dallas was checked first because its zip, 75207, is the closest to Priya's 75201. The ship-to zip 75201 passed Dallas's 7* rule. Dallas had 30 units, so it filled both and routing stopped. Dallas now has 28 units of LT-900.
You
Which warehouse was actually used for that order?
AI agent
Dallas (warehouse 18). The order record itself assigns both units of LT-900 to Dallas, and Dallas is the only warehouse listed as used on the order. That matches the routing log.
You
Ship it: UPS Ground, tracking 1Z999AA10123456784, both units in one box, 14 oz.
Tool
order_get, then order_tracking_create (preview)
AI agent
Ready to record this shipment on order 103481: UPS Ground; tracking 1Z999AA10123456784; one box holding 2 x LT-900, 14 oz; ships from Dallas (warehouse 18). 1Z999AA10123456784 is the sample tracking number UPS publishes in its documentation, not a live shipment. That's fine if this is a test order, but it would give a real customer a dead tracking link. Confirm and I'll record it.
AI agent
Order 103481 is shipped: 2 of 2 units, UPS Ground, tracking 1Z999AA10123456784, one 14 oz box.
Three moments to notice. The UPC: the agent did the check-digit math before writing anything, which is the difference between an assistant and a form. The order: asked where it routed before you had said yes, the agent answered that nothing had been created, because nothing had; the server does not write until the confirmation token comes back. And the shipment: it flagged that the tracking number was UPS's own documentation sample. How every write is protected, and how routing by zip distance works.