Add a customer
In B2B the customer is a company, not a person. The record that carries terms, credit and addresses is the organization; the people who log in are contacts inside it, each with a role that says what they may do. This walkthrough creates one of each, for a customer you have supplied for years, so you can log in as them later and see what they see.
Create the organization
- In Commerce Studio, go to CRM › Organizations.
- Select New organization.
- Enter the Name as the legal name your ERP has it, so the two systems reconcile by eye.
- Enter the Customer number from your ERP. It is unique per tenant and it is the join key every later integration needs.
- Enter the VAT ID. Depending on your settings it is checked for format or against the EU VIES service, and it is what duplicate detection reads.
- Enter the Industry as free text, and agree the spelling with your colleagues before you have four variants of "Automotive".
- Set Lifecycle stage to
customerand Status toactive. The first describes the pipeline and grants nothing; the second decides whether the company may trade at all. - Set the commercial terms: payment terms, credit limit, and the price list code this company resolves onto. Leave them empty to inherit the defaults. See Payment terms and credit limits.
- Save.
Add the person who orders
- Go to CRM › Contacts and select New contact.
- Enter the Email. It is the identity, unique per tenant, and what the person signs in with on your storefront.
- Enter first name, last name and job title. Job title is free text and grants nothing.
- Pick the Organization. This field is what gives the person their company's prices, terms and order history. A contact without one is a standalone consumer record.
- Pick the Role:
buyerfor someone who orders directly. The five roles run fromviewer, who may look and not buy, throughrequester, who submits for approval, toapproverandadmin. Set an Order approval limit only on roles that approve. - Set the Locale. It drives the shop language and the language of the order confirmation.
- Tick Primary contact and save.
A word on several sites
There is no organization hierarchy, on purpose. One legal entity with three delivery sites is one organization with three shipping addresses. Two legal entities with separate invoices are two organizations, grouped in a segment if you price them together. The test is the invoice: if it gets its own invoice and its own credit limit, it is its own organization. Decide this before the first order, because orders cannot be reassigned afterwards. See Organizations and hierarchies.
What to check
- Open the organization. The header shows the customer number, VAT ID and industry; badges show status, lifecycle stage and payment terms. No red banner at the top means the company can trade.
- Open the contact. The Role & permissions section shows the grants this person holds and that they may act on them. The Organization & status section links to the company; if it is empty, the person has no company prices.
- The dashboard's Buyers tile now shows one account of one.
If this customer has negotiated prices
Give them a list of their own: create a second price list, bind it to this organization under Applies to, set Logged-in buyers only, and add the agreed entries. The most common mistake in the whole pricing area is creating a customer list and forgetting the account, which puts every buyer in the shop on that customer's prices. See Contract prices.
Next
- Create a storefront: somewhere for this contact to log in.
- Guide: Organizations and hierarchies and Contacts and roles in the Customers book.
- Product Help: Organizations and Contacts.