Skip to main content

customer

Description

  • The currently authenticated customer (or empty object for guests).

Source

  • {{customer}}

Type

  • Object

Key Fields

  • Common: _id, name, email, phone, addresses[], createdAt, updatedAt

Example

{
"fullname": "*******",
"phone": "***********",
"email": "*****@*****.com",
"type": "registered",
"verified": boolean,
"blocked": boolean,
"deleted": boolean,
"country": {
"name": "مصر",
"code": "EG",
"_id": "b6b5j378229vbb563526",
},
"status": "active",
"avatar": "1730411788954-626290870.webp",
"devices": [],
}

Notes

  • When user is not logged in, this object may be {}.