products
public
Create Product
Create a product.
Scopes: products:write
post/v1/products/
Request
- Base URLhttps://api.polar.sh
- URLhttps://api.polar.sh/v1/products/
- Auth
- OpenID Connect (/.well-known/openid-configuration, scopes: products:write)
- or HTTP bearer
- or HTTP bearer
Request body
Example request
{
"organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"
}Response
Product created.
Example response
{
"benefits": [
{
"properties": {
"repository_owner": "polarsource",
"repository_name": "private_repo"
}
}
],
"attached_custom_fields": [
{
"custom_field": {
"organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"
}
}
]
}Changes
No recorded changes to this operation across all 11 revisions of this API.