User Management and Approvals
Learn how you can manage users and permissions on the storefront.
Last updated
Was this helpful?
Learn how you can manage users and permissions on the storefront.
Last updated
Was this helpful?
As a B2B customer, with Emporix you can easily manage your company data and your company users' data directly from your storefront.
When a new customer registers at your storefront, all the registration data are automatically reflected in your Emporix account. This includes the company data, like address and contact information that your new customer provided during the registration. The most important piece of information is the customer's email address. By default, the customer is created with the admin role and becomes a primary contact for the company, if no other primary contact exists.
Make sure you add security measures in your implementation for creating new B2B customers on the storefront. For the showcase purposes, the new customer by default gets admin rights which for sure is not the desired behavior on your side.
Log in to your storefront account and go to My account -> Manage Users.
To start creating a new user, choose Create new user.
Enter the user data, and choose the role for the user: you can select between Admin, Purchaser and Material Manager.
Admin: manages users, creates orders, approves orders from other users, who have the purchaser or material manager roles.
Purchaser: creates orders within the defined account threshold and can approve orders from material managers
Material manager: creates order requests for purchaser or admin
Choose if the user should be activated or not.
After you create the new user, they receive an email notification to set the account password.
All of the users' data is reflected and visible in the Emporix account in the backend system.
During the sign-up process, when the customer has a defined b2b.companyRegistrationId
property, an additional validation takes place. The populated b2b
property indicates that the registration process is for the B2B customers.
The properties that are required for the B2B customers are:
firstName
lastName
company
By default, a B2B customer is added to a legal entity matched by the name. If such a legal entity doesn’t exist, the company is created in the system, but only after an address is assigned to the newly created customer.
When the B2B_ADMIN
customer creates a customer, the customer is automatically assigned to the legal entity of the B2B_ADMIN
customer.
When the customer is created for the B2B flow, then the default employee is informed about that by an email notification. The default employee is defined by the default_employee
property.
Having different user roles within a company helps in keeping the purchasing process in an ordered and transparent way. Anytime an order that is created has to be approved, the approval process starts.
As a purchaser or material manager, you can create orders within the storefront and then request an approval. To request the approval, a user has to create a standard order first and then go through the standard checkout flow. During the checkout, the user can create an approval request for ordering the items in the cart.
To start the approval process, choose the Request approval option.
Choose the person who should be an approver of the request and add any additional information if necessary. After that, use the Submit button to send the request.
Result: After sending the approval request an email notification is sent to the approver. You can also see a confirmation message that the approval was requested. In your Saved Carts , you can check the status of your request.
As an admin, you have the permission to approve the order requests that are sent by a purchaser or a material manager. When such a request is created, you get an email notification informing you about a pending approval.
To start working on the approval requests, go to the Saved Carts in your storefront account. Here, you can check the requests that are pending processing.
Choose the approval request to view the checkout details for the order.
Review the order, change the shipping information if needed, and decide if you approve or decline the request.
If you decide to approve, choose the Confirm & Pay button, this completed the checkout process.
If you decide not to approve, choose the Decline Request option. The requester receives information that the request was declined.