The customer
- The delivery record is always there: orders placed (exchanges,
waiting, archived and abandoned ones left out), open, delivered, returned
and cancelled; the value of delivered orders (
deliveredValue, a decimal string); the first and last order; whether the merchant blocked the buyer. provinceCodeandtownOns(the wilaya and commune of their newest order that has one) are not contact data.nameandphoneneedread_customer_contact. A buyer’s second phone and address are on their orders (buyer.phone2,buyer.address), under the same scope.- The merchant’s private note about a buyer is never sent.
- A customer can be about 20 seconds behind their latest order.
GET /customers lists every buyer with at least one counted order, newest
first. storeId lists the buyers of one store, with that store’s
counters. An installation limited to selected stores sees a buyer only
through orders in its stores, and reads those stores’ counters summed, never
the whole business’s. Search and segments are not offered: page the list,
and follow customers/updated.
read_customer_contact
Without it, contact fields are left out: the keys are absent, not null,
so your app can tell “not granted” from “empty”. It covers:
- an order’s or checkout’s
buyer.name,phone,phone2,email,address,address2, and the order’snoteanddeliveryNote(buyers type contact details into notes); - another author’s order comments;
- a customer’s
nameandphone; - the same fields in webhook bodies, and the customer picker’s
nameandphone(Embedded pages).
read_orders.
Even with it:
- when the merchant’s plan hides phones (no active subscription, or a
billing grace that hides them), every phone reads
**********; - a waiting order (past the plan’s order allowance) shows
**********for its phones andnullfor its notes and other authors’ comments, until it unlocks.
Handle buyer data with care
- Ask for
read_customer_contactonly if your app does something with the buyer’s contact (sending a message, printing a label). Make it optional when only some merchants will want that feature. - Store as little as you can, for as short as you can, and never in logs.
- Honour
customers/redactandcustomers/data_request, and delete what you hold about a business onbusiness/redact(Compliance and uninstall).