Polarex.Seats (Polarex v0.2.8)

View Source

Provides API endpoints related to seats

Summary

Functions

customer_portal_seats_assign_seat(body, opts \\ [])

@spec customer_portal_seats_assign_seat(
  Polarex.SeatAssign.t(),
  keyword()
) :: {:ok, Polarex.CustomerSeat.t()} | {:error, Polarex.HTTPValidationError.t()}

Assign Seat

Scopes: customer_portal:write

customer_portal_seats_list_claimed_subscriptions(opts \\ [])

@spec customer_portal_seats_list_claimed_subscriptions(keyword()) ::
  {:ok, [Polarex.CustomerSubscription.t()]} | :error

List Claimed Subscriptions

List all subscriptions where the authenticated customer has claimed a seat.

Scopes: customer_portal:read customer_portal:write

customer_portal_seats_list_seats(opts \\ [])

@spec customer_portal_seats_list_seats(keyword()) ::
  {:ok, Polarex.SeatsList.t()} | {:error, Polarex.HTTPValidationError.t()}

List Seats

Scopes: customer_portal:read customer_portal:write

Options

  • subscription_id: Subscription ID
  • order_id: Order ID

customer_portal_seats_resend_invitation(seat_id, opts \\ [])

@spec customer_portal_seats_resend_invitation(
  String.t(),
  keyword()
) :: {:ok, Polarex.CustomerSeat.t()} | {:error, Polarex.HTTPValidationError.t()}

Resend Invitation

Scopes: customer_portal:write

customer_portal_seats_revoke_seat(seat_id, opts \\ [])

@spec customer_portal_seats_revoke_seat(
  String.t(),
  keyword()
) :: {:ok, Polarex.CustomerSeat.t()} | {:error, Polarex.HTTPValidationError.t()}

Revoke Seat

Scopes: customer_portal:write