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 |
---|---|---|
id | string | The ID of the customer. |
name | string | The full name of the customer. |
first_name | string | The first name of the customer. |
last_name | string | The last name of the customer. |
email | string | The email of the customer. |
phone | string | The phone number of the customer. |
info | array | All of the orders are placed by the customer. |
orders_count | number | The total number of orders that the customer has placed. |
tags | string | The tag of the customer, displayed only when the customer is logged in. |
{
"email": "[email protected]",
"first_name": "Fashion",
"id": "81a4045d-ca0e-4fc9-8dad-3aa4ba8ef234",
"info": [],
"last_name": "Maker",
"name": "Fashion Maker",
"orders_count": 0,
"phone": "+441314960905",
"tags": "tag1,tag2"
}
Updated 7 months ago