Skip to main content

Pricing API

The Pricing API lets you calculate rental and experience prices before creating bookings.

Why Calculate Pricing?โ€‹

  • Preview prices before confirming a booking
  • Build quotes for customers
  • Validate pricing matches your expectations
  • Handle complex pricing (tiered, seasonal, per-hour/day)

API Endpointโ€‹

MethodEndpointDescriptionScope Required
POST/v1/pricing/calculateCalculate pricing for itemsproducts:read

Pricing Typesโ€‹

EquipDash supports multiple pricing structures:

Flat Pricingโ€‹

Single price for any rental duration.

Schedule/Tiered Pricingโ€‹

Different prices based on rental duration:

  • 1-2 hours: $25
  • 3-4 hours: $40
  • Full day: $60

Seasonal Pricingโ€‹

Prices vary by time of year:

  • Peak season (summer): Higher rates
  • Off-season: Lower rates

Template-Based Pricingโ€‹

Products share pricing rules from a template.

Exampleโ€‹

Calculate Cart Totalโ€‹

curl -X POST "https://app.equipdash.com/api/v1/pricing/calculate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"items": [
{"type": "product", "product_id": 1, "quantity": 2},
{"type": "product", "product_id": 5, "variation_id": 12},
{"type": "experience", "experience_id": 3, "schedule_id": 45, "quantity": 2}
],
"start_date": "2026-02-15T09:00:00Z",
"end_date": "2026-02-17T17:00:00Z"
}'

Response Structureโ€‹

All pricing endpoints return:

{
"data": {
"period": {
"start_date": "2026-02-15T09:00:00+00:00",
"end_date": "2026-02-17T17:00:00+00:00"
},
"currency": "USD",
"items": [...],
"summary": {
"subtotal": 250.00,
"item_count": 3
}
}
}

Important Notesโ€‹

  • Prices are calculated in the supplier's configured currency
  • Taxes are not included in pricing calculations (applied at booking)
  • Discounts are applied when creating the booking, not during price calculation
  • Variation price adjustments are automatically included