---
title: "POST /pricing/preview"
method: POST
path: "/pricing/preview"
tags: ["PricingPreview"]
---

# POST /pricing/preview

`POST /pricing/preview`

## Request body

- StorePricingPreviewRequest — Validates the POST /api/v1/pricing/preview payload. Scope enforcement is handled upstream by the oauth-api / public-api middleware chain + the scope:bookings:read gate on the route itself. extras[].id tenant ownership is NOT validated here with a custom rule because a per-element Rule instance on an array attribute causes one fail() call per element — difficult to surface cleanly. Instead, the controller resolves each Extra under the active BelongsToTenant scope and throws a ValidationException for any that come back null (same pattern as BookingController::store extras).
  - `package_id` string, nullable
  - `event_date` string, date-time, required
  - `unit_id` string, nullable
  - `coupon_code` string, nullable
  - `payment_option` 'pay_now' | 'pay_later' | 'deposit' | 'full', nullable
  - `payment_amount_minor` integer, nullable
  - `event_type` string, nullable
  - `event_type_id` integer, nullable
  - `client_reported_distance` number, nullable
  - `offline_payment_method_id` string, nullable
  - `media_policy` object — POL-05: optional media-policy intent so the preview can gate requires_sharing_opt_in extras the same way the create path does. Shape-only — no persistence, no route-aware capture validation (this is a stateless quote endpoint).
    - `applies` boolean
    - `sharing_opt_in` boolean
  - `venue` object
    - `postcode` string, nullable
    - `latitude` number, nullable
    - `longitude` number, nullable
    - `country` string, nullable
  - `packages` object[], nullable
    - `package_id` string, required
    - `unit_id` string, nullable
    - `quantity` integer, nullable
  - `extras` object[], nullable
    - `id` string, required
    - `quantity` integer, required

## Response `200`

- string

## Other responses

- `422` — Validation error

---

[API](https://skmtc.dev/boothzen/apis/boothzen-api-v1.md) · [All operations](https://skmtc.dev/boothzen/apis/boothzen-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/boothzen/boothzen-api-v1/revisions/a5ae040e3ba3/schema)
