Skip to content
arch-lab

Customer API

Every field the customer endpoints return, what it means, and where it comes from

Open in the playground

Customer APICustomerREST payloadFIELDTYPERULESMEANINGSOURCEiduuidrequireduniqueStable identifier. Neverreused, so a deletedcustomer's id stays dead.accounts.customer.idValues: RFC 4122e.g. 9f2a1c3e-1c2f-4b6a-9c1e-0f2a1c3e4b5aemailstringrequireduniquepiiLowercased on write, whichis what lets it be a uniquekey. Verified before anorder may be placed.accounts.customer.emailValues: RFC 5322display_namestringWhat the customer asked tobe called. Free text — donot parse it into first andlast.accounts.customer.display_namelifetime_valuedecimal(10,2)derivedSum of settled orders.Recomputed nightly, so itlags a same-day order by upto 24 hours.warehouse.customer_ltve.g. 1284.50legacy_crm_refstringdeprecatedThe pre-2024 identifier.Still written for thereporting export; readnothing new from it.crm.contact_refOrder summaryREST payloadFIELDTYPERULESMEANINGSOURCEiduuidrequireduniqueThe order's own identifier.orders.order.idstatusstringrequiredWhere the order is in itslifecycle.Values: one of draft | sent | paid | refundede.g. paidplaced_attimestamptzrequiredWhen the customer confirmed,not when the paymentsettled.orders.order.placed_at