"merged_into_existing": true to confirm what happened. This is deliberate: it means a patient who orders three times in a morning gets one shipment rather than three.
An order is mergeable while it is in received or paused status, or is an exception (stuck) order created within the last 24 hours. Once it reaches picked or later, a new order is created instead.
What you get back
Preventing a merge
Passforce_new=true as a querystring argument:
What happens to shipping on a merge
Shipping details on the new request are inherited by the existing order:- A new shipping address replaces the original one — the whole merged order goes to the new address.
- A new shipping preference (carrier or service level) replaces the original.
This is the reason to reach for
force_new=true when a patient wants a separate delivery. Without it, a second order bound for a different address will silently redirect the first one too.Which orders can be merged into
An order can be merged into while it is:- in
receivedstatus, - in
pausedstatus, or - an
exception(stuck) order created within the last 24 hours.
picked or later, it is locked and a new order is created for that patient instead.
See Order Merging for the canonical description, and order statuses for what each stage means.
Create an order
Accepts
force_newComposite creation
Also accepts
force_newOrder merging reference
Canonical rules in the overview
Get a patient's orders
See what’s already open