Polar::Api::CustomerPortal::Downloadables
API client for downloadables operations in customer_portal context
Constants
Log = ::Log.for(self)
Constructors
new(client : Client)
Creates a new Downloadables instance
@param client [Client] The Polar API client instance
Instance methods
list(benefit_id : String | Nil = nil, page : Int32 | Nil = nil, limit : Int32 | Nil = nil) : Polar::Models::ListResource(Polar::Models::DownloadableRead)
List Downloadables
Scopes: customer_portal:read customer_portal:write
Endpoint: GET /v1/customer-portal/downloadables/
Parameters:
benefit_id(optional): Filter by benefit ID.page(optional): Page number, defaults to 1.limit(optional): Size of a page, defaults to 10. Maximum is 100.
Returns: Polar::Models::ListResource(Polar::Models::DownloadableRead)
Raises:
ResourceNotFoundErroron 404NotPermittedErroron 403HTTPValidationErroron 422PolarErroron other errors