Get customer
GET/api/v1/stores/{store_id}/customers/{customer_id}
A customer with the number of paid orders and their total.
Scope
ecommerce:readRead 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.
idstringrequiredemailstringrequiredfirst_namestring | nullrequiredlast_namestring | nullrequiredcompanystring | nullrequiredcontact_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
- 404
- not_found
- 429
- rate_limited