www/apps/user-guide/app/customers/manage/page.mdx
import { EllipsisHorizontal, ArrowUpRightOnBox, EllipsisVertical } from "@medusajs/icons" import { Table, Prerequisites } from "docs-ui"
export const metadata = {
title: Manage Customers in Medusa Admin,
}
In this guide, you’ll learn how to create and manage customers and their details.
You can create a customer through the Medusa Admin, which is useful if a customer is creating an order offline. The customer will be a guest customer; to register, the customer must register through the storefront.
To create a customer from the Medusa Admin:
To view a customer’s details:
In the first section's header, you can see a badge with the customer's type:
<Table> <Table.Header> <Table.Row> <Table.HeaderCell>Customer Type</Table.HeaderCell> <Table.HeaderCell>Description</Table.HeaderCell> </Table.Row> </Table.Header> <Table.Body> <Table.Row> <Table.Cell>Registered</Table.Cell> <Table.Cell>A customer that has registered in your store.</Table.Cell> </Table.Row> <Table.Row> <Table.Cell>Guest</Table.Cell> <Table.Cell>A customer that has placed an order but hasn't registered in your store, or a customer that you created through the admin dashboard.</Table.Cell> </Table.Row> </Table.Body> </Table>You can't edit a customer's password from the Medusa Admin. The customer has to reset it from the storefront.
</Note>To edit a customer’s details:
You can view a customer’s orders from their details page in the Orders section. By clicking on an order, you can view its details.
You can transfer an order to another customer. For example, a guest customer registered, or a customer created an order offline.
When you transfer the ownership of an order, the original customer will receive a notification, such as an email, requesting their approval for the transfer. The order is transferred to the new customer only after the original customer approves the transfer.
<Note>You can't transfer ownership to a guest customer, and that includes customers you create through the admin dashboard.
</Note>To transfer a customer's order ownership to another:
The original customer will then receive a notification requesting their approval for the transfer.
<Note>If a notification isn't sent, check with your technical team to debug the integrated notification service.
</Note>You can add a customer to multiple groups, allowing you to offer different promotions or pricing based on the group they belong to.
To add a customer to customer groups:
To remove a customer from customer groups:
Metadata is custom data that can be associated with the customer in key-value pairs. This is usually used by developers for custom integrations or to store additional information about the customer.
To edit the customer's metadata:
You can view and manage a customer's address from the "Addresses" section on the customer's details page. This is useful when you need to make changes to the customer's shipping or billing address in an order.
<Note>The Address section and management features are only available after This injection zone is available since Medusa v2.7.0.
</Note>To add an address to a customer:
Deleting an address is irreversible.
</Note>To delete a customer address:
<Prerequisites items={[ { text: "Loyalty plugin installed", link: "!resources!/commerce-modules/store-credit#1-install-the-loyalty-plugin", }, ]} />
If you have the Loyalty plugin installed, customers can have store credit accounts. These accounts allow you to credit customers manually, or when you issue a refund for an order. Customers can then apply the store credit balance at checkout.
To view a customer's store credit accounts:
By clicking on an account, you can view its details and transaction history, and credit the account. See the Manage Store Credits guide for more details.
Deleting a customer is irreversible.
</Note>To delete a customer: