Skip to content

Reference / Customers

Get customer

GET/api/v1/stores/{store_id}/customers/{customer_id}

A customer with the number of paid orders and their total.

Customers and consent →

Scope

  • ecommerce:read Read e-commerce – the person behind the key must be all members.

Path parameters

store_idstringrequired
The store's ID, which you choose.
customer_idstringrequired
The customer's ID in your shop.

Response

200 The customer.

idstringrequired
emailstringrequired
first_namestring | nullrequired
last_namestring | nullrequired
companystring | nullrequired
contact_idstring | nullrequired
The workspace's contact with the same address, if there is one. A customer never becomes a contact on its own.
orders_countintegerrequired
Paid orders.
total_spentnumberrequired
The total of the paid orders.
last_order_atstring (time, ISO 8601) | nullrequired
The most recent paid order.
created_atstring (time, ISO 8601)required
When the customer was first sent in.
updated_atstring (time, ISO 8601)required
When the customer was last changed.

Errors