- Summary: Overview of the API6 Availability and Pricing endpoint used to check item availability and calculate rental pricing dynamically.
- Intended Audience: Developers integrating custom booking systems, storefronts, or custom web forms with InflatableOffice.
- Authentication & Base URL: Standard API6 authentication headers and endpoint route.
- HTTP Method:
Availability & Pricing API Endpoint
If you're checking availability across a large volume of items or times, we recommend running your checks using the speedy flag first. If the speedy check returns an uncertain result, you can then fall back to the standard method to confirm.
1. Overview & Purpose
2. Request Specifications
POST
/api6/availability-pricing(or finalized endpoint path)
Content-Type: application/json, API authentication tokens/headers.
-
start
(long / timestamp, required): Start time (Unix timestamp in milliseconds).
-
end
(long / timestamp, required): End time (Unix timestamp in milliseconds).
-
location_id
(integer, optional): Specific inventory location ID (default:0).
-
delivery_type
(string, optional): e.g.,
"Delivery"
or
"Customer Pickup"
.
-
items
(array of objects, required):
-
rental_id
(integer, required): Unique rental item ID.
-
quantity
(integer, required): Desired quantity. accessories
-
(array, optional): Associated accessory IDs/quantities.
-
-
multi-date
(array of objects, optional): Additional date ranges
[{"start": ..., "end": ...}]to check multiple slots in a single call.
-
speedy
(boolean, optional, default:
false
Enable fast availability checking mode for high-volume queries.
3. Availability Modes & Best Practices
3. Availability Modes & Best Practices
- Standard vs. Speedy Mode:
- Standard Mode
speedy: falsePerforms a full, comprehensive availability evaluation across all conflict rules and active leads.
- Speedy Mode
speedy: trueOptimized lightweight query ideal for checking availability across multiple dates or large catalogs simultaneously.
- Standard Mode
- Recommended Workflow & Fallback Logic:
- Use
speedy: truefor broad catalog browsing and multi-date inquiries.
- If a response returns
unsureor
possibly unavailable
Trigger a secondary targeted request with
speedy: false
before declining the booking.
- Use
4. Pricing & Rule Calculations
- Base Pricing vs Conditional Rules: Explanation of how prices are calculated.
- Multi-Date Optimization: How identical pricing is reused across dates when no conditional filter rules apply.
5. Sample Request & Response Payloads
- Single-Date Standard Check:
- Sample JSON Request & 200 OK Response
- Multi-Date Speedy Check:
- Sample JSON Request with
<pre>multi-datearray &
speedy: true
- Sample JSON Request with
- Sample Response demonstrating per-date availability status breakdown
available
unavailable
unsure
6. Error Handling & Response Codes
Common HTTP status codes
200 OK
-
400 Bad Request
401 Unauthorized
422 Unprocessable Entity
- Error payload schemas and troubleshooting invalid date ranges or missing rental IDs.