FleetbaseFleetbase

Customers

Manage customer accounts in your store or network — order history, contact details, addresses, and the API surface for guest and registered customers.

Customers

A Customer is an end-user registered with your store or network. Customer records track contact information, saved delivery addresses, order history, and API authentication tokens.

Navigate to Storefront → Customers to manage your customer base.

Customer Attributes

FieldDescription
NameCustomer's full name
EmailContact email
PhoneMobile phone number (used for SMS code login)
PhotoProfile photo
AddressesSaved delivery addresses (places)
Order HistoryAll Fleet-Ops orders placed through this store or network
SlugAuto-generated URL slug
MetaArbitrary key/value metadata

The Customer API resource exposes id, name, email, phone, address, addresses, photo_url, meta, slug, orders (count), created_at, updated_at, and a token for authenticated sessions.

Managing Customers

From Storefront → Customers you can:

  • View a customer's full profile including order history and saved addresses
  • Edit contact information (name, email, phone)
  • Delete a customer account — removes the account and saved data; historical orders are retained for record-keeping

Guest vs. Registered Customers

Guest Checkout

If a customer completes an order without creating an account, Storefront still creates a customer record with the name, email, and phone provided at checkout. Guest customers:

  • Cannot save delivery addresses for future use
  • Cannot log in to view order history
  • Cannot submit reviews (only authenticated customers can review)

Registered Customers

Registered customers authenticate via the API (see Customer Authentication) and benefit from:

  • Faster checkout with saved delivery addresses
  • Access to order history and tracking
  • Ability to submit product and store reviews

Customer Reviews (API only)

Customers can leave reviews on both products and stores via the API. Reviews include a 1–5 star rating, optional text content, and optional media uploads (photo or video). Other customers can vote on reviews.

Reviews are currently exposed via the public API only. There is no console UI for browsing or moderating reviews — this is on the roadmap. To enable reviews on a network, toggle options.reviews_enabled in Network Settings.

EndpointPurpose
GET /storefront/v1/reviewsList reviews for a subject (product or store)
POST /storefront/v1/reviewsSubmit a review (authenticated customer)
DELETE /storefront/v1/reviews/{id}Remove a review

Customer API

If you are building a custom frontend, use the Storefront API to manage customers. Authenticated customer requests pass the customer's session token in the Customer-Token header (the storefront key still goes in Authorization: Bearer).

EndpointPurpose
POST /storefront/v1/customersRegister a new customer (requires a verification code from request-creation-code first)
POST /storefront/v1/customers/loginEmail/phone + password login
POST /storefront/v1/customers/login-with-smsSMS code login
POST /storefront/v1/customers/verify-codeVerify the SMS code
POST /storefront/v1/customers/login-with-appleApple Sign-In
POST /storefront/v1/customers/login-with-googleGoogle Sign-In
POST /storefront/v1/customers/login-with-facebookFacebook Sign-In
GET /storefront/v1/customers/{id}Get customer profile
PUT /storefront/v1/customers/{id}Update profile
POST /storefront/v1/customers/register-deviceRegister a device token for push notifications
POST /storefront/v1/customers/account-closureBegin account closure flow (App Store compliance)
POST /storefront/v1/customers/confirm-account-closureConfirm and close the account

See Customer Authentication for the full login flow including verification codes, social login, and device registration.

Customers | Fleetbase