class

Polar::Api::CustomerPortal::Organizations

Inherits Reference < Object

API client for organizations operations in customer_portal context

Constants

Log = ::Log.for(self)

Constructors

new(client : Client)

Creates a new Organizations instance

@param client [Client] The Polar API client instance

Source

Instance methods

Get Organization

Get a customer portal's organization by slug.

Endpoint: GET /v1/customer-portal/organizations/{slug}

Parameters:

  • slug (required): The organization slug.

Returns: Polar::Models::CustomerOrganization

Raises:

  • ResourceNotFoundError on 404
  • NotPermittedError on 403
  • HTTPValidationError on 422
  • PolarError on other errors
Source