List Products

GET /api/admin/products

SCHEMA

View Product

GET /api/admin/products/{id}

SCHEMA

Update Product

PATCH /api/admin/products/{id}

Be aware that updating a package through this will completly delete the package, and re-create it with the values you provide. Be sure to supply all values for the package. To only update the product, and not the package, omit the package_attributes object.

SCHEMA

Create Product

POST /api/admin/products

Be sure to add products to billing plans and create price rules.

??? abstract "Create Product Schema"

EXAMPLE

{
    "product": {
        "label": "example",
        "package_attributes": {
            "cpu": "1.0",
            "memory": 1024
        }
    }
}