Customers
People who have bought from the shop – with or without consent to mailings. A customer never becomes a contact: it is linked to the workspace contact with the same address as long as one exists, for purchase conditions in distribution lists.
- GET
/stores/{store_id}/customersList customersThe store's customers, one page at a time. - GET
/stores/{store_id}/customers/{customer_id}Get customerA customer with the number of paid orders and their total. - PUT
/stores/{store_id}/customers/{customer_id}Create or update customerCreates the customer with the shop's ID, or updates it. Orders and carts do this themselves with their customer. - DELETE
/stores/{store_id}/customers/{customer_id}Delete customerDeletes the customer and their carts. The orders remain without a customer, so that the campaigns' revenue stays correct.