read_missed_orders to read, write_missed_orders to change (it includes read_missed_orders). Both are protected: EasyOrders reviews your app’s reason for them before they work for real merchants.
What a missed order is
When a shopper fills part of the checkout form and leaves without ordering, the storefront saves what they typed as a missed order, so the merchant (or your app) can follow up and recover the sale.- The storefront creates missed orders; an app cannot create one.
- A missed order is deleted 30 days after it was created. An app cannot delete one.
- Your app hears of new and changed missed orders through the
missed_orders/createdandmissed_orders/updatedevents.
The missed order
city is the governorate (the shipping area), and items are the cart items, each price the unit price. A missed order is what the shopper typed, so any field may be empty.
can_convert_to_orderistruewhen it has a name, a phone or an email, an address and a cart item: enough to turn it into an order.is_completedis its status:trueonce it is recovered or no longer to follow.
Listing
List missed orders is paginated by cursor, oldest first unlesssort=created_at,DESC. It takes no filter; its parameters are limit, cursor, sort, created_since and updated_since (RFC 3339 times, at or after). To keep your system in step, read with updated_since set to the time of your last read.
Updating
Update a missed order changes only these fields, only the ones you send:nullis refused, and""empties a field. Text is trimmed.- The cart items, payment method and metadata are read only.
- A request that changes nothing leaves
updated_atas it was.
Where missed orders live
Missed orders are kept by a separate EasyOrders service; the API passes your request on to it. When that service cannot be reached, every endpoint answers503, and you retry later. After a 503 on an update, read the missed order before retrying: the change may have been made.
Hidden customer details
While a store has unpaid dues, its missed orders answermasked: true and masked_reason: "store_overdue": the name keeps its first 2 letters then ****; the email, phones, country, city and addresses are empty, and so is the metadata of the missed order and of its items.