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

CustomerSessionCustomerExternalIDCreate

Schema for creating a customer session using an external customer ID.

# `t`

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

* `external_customer_id` - External ID of the customer to create a session for.
* `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*
