Product
POST /api/product
Request
- Base URLhttps://api.sponsorunited.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Product 1",
"badge": "su,supr,spnd",
"roles": "1,2,3",
"surface_limit": {
"organization": 500,
"user": 100
}
}Response
Products details.
Example response
{
"id": 1,
"name": "Product 1",
"badge": "su",
"organization_surface_limit": 500,
"user_surface_limit": 100,
"roles": [
{
"id": 1,
"name": "admin",
"display_name": "Administrator",
"description": "Administrator"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.