Skip to main content
POST
/
v1
/
admin
/
bookings
/
pricing-preview
Preview session pricing
curl --request POST \
  --url https://{operatorDomain}/v1/admin/bookings/pricing-preview \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "productId": "prod_01J9",
  "selection": {}
}
'
{
  "data": {
    "currency": "EUR",
    "total": 124900,
    "lines": [
      {}
    ]
  }
}

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Body

application/json
productId
string
required
Example:

"prod_01J9"

selection
object

Response

200 - application/json

Pricing snapshot

data
object