Customers
Reading customers needs an app without restrict_customer_list. Adding and changing them also needs it without restrict_customer_contact. An app with either restriction gets 403 restricted, which names it.
POST /customersfinds people by phone number. When the number already belongs to one of the business’s customers, that customer comes back with200, and only details that are blank get filled in. Use PATCH to change the rest.- A customer who has signed up to razza owns their name, phone, email and birthday, so changing them is refused with
CUSTOMER_MANAGES_OWN_DETAILS. The same applies when another business also serves the person. - A customer with no email reads as
"", and so does a gender that isn’t set. You can send what you read back unchanged. Addresses ending in.localor.invalidare razza’s own and are refused withVALIDATION_EMAIL_INVALID.