What the checkout shows
create_checkout returns a quote and a route plan together:
Your agent can show the total, the store and the delivery date to the shopper before it asks for approval.
What the order records
Once the order is placed,get_order records how AgentMall placed it:
AgentMall picks the route from what the merchant supports. You see which one it used, but you don’t choose it.
When the plan goes stale
A quote and route plan belong to one basket revision. If the cart changes, open a new checkout withcreate_checkout to get a fresh quote and plan. A checkout also expires at expiresAt.