1. 主页
  2. 文档
  3. REST API port
  4. Customers

Customers

Customer resources store information about the store’s customers, such as their contact information, order history, and whether they agree to receive E-mail marketing.

Customer resources also contain information about the status of customer accounts. Customers with accounts can save checkout time when they log in because they don’t have to enter their contact information. You can use the customer API to check if the customer has an active account, and if not, invite them to create one.

 # API
  •  GET  /rest/api/2021-07/customers #Retrieves a list of customers
  •  POST  /rest/api/2021-07/customers #Create a customer
  •  GET  /rest/api/2021-07/customers/count #Retrieves a count of customers

文章