Account Management Introduction
An Account represents the entity that participates in a Commerce transaction. Accounts can have Carts, Orders, Subscriptions, and Addresses.
Each account can have multiple account members, which represent users and can transact on behalf of the account.
In a typical B2C scenario, an account usually has a single account member. However, this functionality can also be used to support use cases such as family accounts, allowing multiple family members to transact on behalf of their shared account. In a B2B scenario, an account will have multiple members from a business unit, all of whom can transact on behalf of their organization.
Accounts vs Customers
Accounts is the next generation of Customers. Customers are not going anywhere, but accounts offers more capabilities. We recommend using Accounts for any of your new use cases.
Feature | Customers | Accounts |
---|---|---|
B2C Accounts | ✅ | ✅ |
Family Accounts | ⛔️ | ✅ |
B2B Accounts | ⛔️ | ✅ |
Authentication: Shopper impersonation | ⛔️ | ✅ |
Authentication: OpenID support | ✅ | ✅ |
Authentication: One time passwords, and password reset | ⛔️ | ✅ |
Authentication: Configurable token expiry | ⛔️ | ✅ |
Cart association | ✅ | ✅ |
Shopper specific Promotions | ✅ | Planned |
Shopper specific Catalogs | ✅ | ✅ |
Addresses | ✅ | ✅ |
Personal Data support | ✅ | ✅ |
Authentication
- HTTP: Bearer Auth
Security Scheme Type: | http |
---|---|
HTTP Authorization Scheme: | bearer |