# `PolarExpress.Services.CustomerSessionsService`
[🔗](https://github.com/jeffhuen/polar_express/blob/main/lib/polar_express/services/customer_sessions_service.ex#L2)

Customer-sessions

CustomerSessions API operations.

# `create_customer_session`

```elixir
@spec create_customer_session(PolarExpress.Client.t(), map(), keyword()) ::
  {:ok, PolarExpress.Schemas.CustomerSession.t()}
  | {:error, PolarExpress.Error.t()}
```

Create Customer Session

Create a customer session.

For organizations with `member_model_enabled`, this will automatically
create a member session for the owner member of the customer.

**Scopes**: `customer_sessions:write`

See `PolarExpress.Params.CustomerSessionsCreateCustomerSessionParams` for parameter details.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
