Core API
- Checkout
- Checkout Links
- Custom Checkout Fields
- Customers
- Subscriptions
- Orders
- Discounts
- Refunds
- Products
- Events
- Meters
- Benefits
- Customer Meters
- License Keys
- Files
- Organizations
- Metrics
Customer Portal API
- GETGet Customer
- GETGet Organization
- Sessions
- Subscriptions
- Orders
- License Keys
- File Downloads
Webhook Events
- Customer Events
- Billing Events
- Organization Events
OAuth 2.0 API
- Connect
- Clients
File Downloads
Get Downloadable
GET
/
v1
/
customer-portal
/
downloadables
/
{token}
package main
import(
"context"
polargo "github.com/polarsource/polar-go"
"log"
)
func main() {
ctx := context.Background()
s := polargo.New()
res, err := s.CustomerPortal.Downloadables.Get(ctx, "<value>")
if err != nil {
log.Fatal(err)
}
if res.Any != nil {
// handle response
}
}
"<any>"
Path Parameters
Response
200
application/json
Successful Response
The response is of type any
.
Was this page helpful?
package main
import(
"context"
polargo "github.com/polarsource/polar-go"
"log"
)
func main() {
ctx := context.Background()
s := polargo.New()
res, err := s.CustomerPortal.Downloadables.Get(ctx, "<value>")
if err != nil {
log.Fatal(err)
}
if res.Any != nil {
// handle response
}
}
"<any>"
Assistant
Responses are generated using AI and may contain mistakes.