Skip to content

Calculate Custom Price

POST
/api/public/modules/calculate-price

Calculate the total price for a custom selection of modules. No authentication required.

Authorizations

ApiKeyAuth

API key for authentication. Get your API key from the dashboard.

Type
API Key (header: X-Api-Key)

Responses

Calculated price information

application/json
JSON
{
"moduleIds": [
"string"
],
"totalPriceCents": 0,
"modules": [
{
"id": "string",
"name": "string",
"priceCents": 0
}
]
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

AstroAPI Documentation