# `PolarExpress.Schemas.CustomerSessionCustomerIDCreate`
[🔗](https://github.com/jeffhuen/polar_express/blob/main/lib/polar_express/schemas/customer_session_customer_id_create.ex#L2)

CustomerSessionCustomerIDCreate

Schema for creating a customer session using a customer ID.

# `t`

```elixir
@type t() :: %PolarExpress.Schemas.CustomerSessionCustomerIDCreate{
  customer_id: term(),
  external_member_id: term(),
  member_id: term(),
  return_url: term()
}
```

* `customer_id` - ID of the customer to create a session for. Format: uuid4.
* `external_member_id` - External ID of the member to create a session for. Alternative to `member_id`. Nullable.
* `member_id` - ID of the member to create a session for. When not provided and the organization has `member_model_enabled`, the owner member of the customer will be used for individual customers. Nullable.
* `return_url` - When set, a back button will be shown in the customer portal to return to this URL. Nullable.

# `schema_name`

---

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