---
title: "Storefront users | Customer&#x27;s Canvas Hub"
canonical: "https://customerscanvas.com/docs/hub/dev-center/concepts/storefront-users/"
---

# Storefront users

> To manage customers of your online store, you must create storefront users first.

The endpoint [`POST /api/storefront/v1/storefront-users`](https://customerscanvas.com/docs/hub/dev-center/api/storefront.md#tag/storefrontusers/Create) registers a user and creates private storage for this user. When registering a user, you must explicitly specify whether the user is anonymous.

Before registering a user, you may need to check if the customer already exists. To do so, call the endpoint [`GET /api/storefront/v1/storefront-users/{id}`](https://customerscanvas.com/docs/hub/dev-center/api/storefront.md#tag/storefrontusers/Get).

To access private storage, you need a _customer token_. You can get it using the endpoint [`GET /api/storefront/v1/storefront-users/token`](https://customerscanvas.com/docs/hub/dev-center/api/storefront.md#tag/storefrontusers/GetToken). The _customer token_ represents a classic JSON Web Token (JWT) prepared by the Customer's Canvas authorization module. You must pass this token to the personalization tool to work with the data of a specific customer.

Sometimes the user can start personalization in the anonymous mode, and to place an order, this user logs in to the permanent account. In this case, you need to move the data from private storage to the permanent data folder. The endpoint [`POST /api/storefront/v1/storefront-users/merge-anonymous`](https://customerscanvas.com/docs/hub/dev-center/api/storefront.md#tag/storefrontusers/MergeAnonymous) helps transfer the data from temporary storage to private storage linked to the customer ID in the online store. Note that data transfer is only possible from an anonymous user to a permanent user.
