Polarex.Seats (Polarex v0.2.8)
View SourceProvides API endpoints related to seats
Summary
Functions
@spec customer_portal_seats_assign_seat( Polarex.SeatAssign.t(), keyword() ) :: {:ok, Polarex.CustomerSeat.t()} | {:error, Polarex.HTTPValidationError.t()}
Assign Seat
Scopes: customer_portal:write
@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
@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 IDorder_id: Order ID
@spec customer_portal_seats_resend_invitation( String.t(), keyword() ) :: {:ok, Polarex.CustomerSeat.t()} | {:error, Polarex.HTTPValidationError.t()}
Resend Invitation
Scopes: customer_portal:write
@spec customer_portal_seats_revoke_seat( String.t(), keyword() ) :: {:ok, Polarex.CustomerSeat.t()} | {:error, Polarex.HTTPValidationError.t()}
Revoke Seat
Scopes: customer_portal:write