Account Management/
Adding Accounts and Account Members

Adding Accounts and Account Members

Before you begin

  • Ensure that the user is signed into the store with appropriate seller permissions.

Procedure

  1. Get the authentication realm for accounts.

    For more information, see the Get Account Authentication Settings section.

  2. To specify the login process for users, add a profile to the account realm.

    You can choose to set up a Password Profile or an OpenID Connect Profile. However, you might have to modify other settings, such as redirect link settings, to use an OpenID Connect Profile. For more information, see the Create an OpenID Connect Profile section.

  3. Create one or more accounts.

    For more information, see the Create an Account section.

  4. Register account members.

    Seller admin can register users to an the account realm by following the instructions in the Creating a User Authentication Info section. After creating the user authentication info, seller admin can associate the user to a login profile by following the instructions in one of the following sections:

    After the registration, you can view the user as an account member through the account member APIs. For more information, see the Account Members section.

  5. Get the ID of the account member to add to the account using the Get All Account Members API endpoint.

  6. Add the selected account member to the account membership.

    For more information, see the Create an Account Membership section.

After an account member is listed in an account membership, the user can shop on behalf of the account.

Buy on behalf of an account

  1. Authenticate the account member using the selected profile.

    Authenticate an account member by following the instructions in one of the following sections:

  2. From the list of accounts, select an account to use.

    You can use the account-management-authentication-token to check out on behalf of an account.

  3. From the store, select products and add to the cart.

  4. Checkout the cart and make the payment on behalf of the account.

    For more information, see the Account Checkout section.

Sellers can use the buyer account ID and account member ID to search and filter the completed orders.

Was this helpful?

Previous
Managing Accounts in Commerce Manager

Learn

Docs