customer
A customer of the store.
Outside of the above contexts, if the customer isn't logged into their account, the customer
object returns nil
.
Properties | Type | Description |
---|---|---|
email | string | The email of the customer. |
first_name | string | The first name of the customer. |
id | string | The ID of the customer. |
info | array | All of the orders are placed by the customer. |
last_name | string | The last name of the customer. |
name | string | The full name of the customer. |
orders_count | number | The total number of orders that the customer has placed. |
phone | string | The phone number of the customer. |
{
"email": "[email protected]",
"first_name": "Fashion",
"id": "81a4045d-ca0e-4fc9-8dad-3aa4ba8ef234",
"info": [],
"last_name": "Maker",
"name": "Fashion Maker",
"orders_count": 0,
"phone": "+441314960905"
}
Updated 3 months ago