E-commerce customer resources represent a customer in an external e-commerce service such as Shopify. Customer resources primarily hold aggregate e-commerce data associated with a contact including the total revenue, total number of orders, and total number of products ordered (see the table below). This data cannot be saved to a customer object directly, but will be updated when order resources are created or updated for a customer. Note that a customer is related to a contact by the email address.
Field | Description |
totalRevenue |
The total revenue amount for the customer. |
totalOrders |
The total number of orders placed by the customer. |
totalProducts |
The total number of products ordered by the customer. |
avgRevenuePerOrder |
The average revenue per order for the customer. |
avgProductCategory |
The most frequent product category ordered by a customer. |
$32.80
would be represented as 3280
.The API allows you to create, update, and delete customer resources. You can retrieve individual customers as well as a list of all customers. Before you can create any customers, you must have created a connection resource for the e-commerce service.
Opmerkingen
0 opmerkingen
Artikel is gesloten voor opmerkingen.