They've ordered and paid online, the kitchen starts cooking -- how does the customer know when it's ready? Dine-in customers find out when they're already there, delivery customers wait at home -- only pickup customers need you to actually tell them, or they'll just end up calling to ask.
Two steps, two statuses
Have the AI call set_order_fulfillment_status, or click it in the admin panel:
| What you set | What the pickup customer sees | What the delivery customer sees | Dine-in |
|---|---|---|---|
ready (ready) | Ready for pickup + gets a "you can come pick it up" email | Out for delivery + gets notified | -- |
done (finished) | Picked up | Delivered | Dining complete |
set_order_fulfillment_status { "orderId": 128, "status": "ready" }
A few things worth knowing
- This isn't used for courier shipments. Orders that get shipped use
mark_order_shippedinstead, which requires a tracking number.A pickup order doesn't have a tracking number -- forcing in a fake one means the customer gets a "your package has shipped" email, when really they just need to walk in and pick up a plate of twice-cooked pork. - Setting the same status twice doesn't send a second email. If you click it by accident, the customer isn't bothered twice.
- A failed notification doesn't hold up the order. If the sending channel isn't configured, or the customer never left an email, the status still moves forward -- they just won't get that message, which is a good moment to give them a call.
- To check where an order currently stands, read
shippingStatusback withget_order.
Related articles
- "Store products and shipping" (shop-products-shipping)
- "Orders & Refunds" (orders-and-refunds)