{"openapi":"3.1.0","info":{"title":"Partition Stalls Planning API","version":"2026-10-30","description":"Read-only commercial restroom planning data for Partition Stalls. The partition budget/planning endpoint is /api/v1/quote-estimate; /api/v1/budget is not an API route. Five public material families map to six calculator directions because Phenolic has Black Core and Color-Thru planning directions. The API supports early quote preparation only. It does not provide checkout, a binding offer, inventory, project-specific lead-time prediction, final specifications, delivery commitments, or a final project quote. These retained legacy planning ranges are not the powder-coated room-designer price engine or checkout totals. Use /pricing for educational October 2026 budget estimates across all five materials and /start for the supported powder-coated room designer. Separate website selling covers 40 exact ASI single-compartment kits across all five materials with 96 approved standard finishes, plus the approved accessory selling overlay: 182 models / 196 exact configurations, with 19 configurations held quote-only. The complete accessory reference release remains 196 models / 215 configurations with sellingEnabled false; its GET/HEAD endpoints are read-only reference lookups, not purchases, customer submissions or selling authorization. Other custom systems, unapproved configurations, held accessories and installation require written project quote review."},"x-partition-stalls-tools":{"pricingGuide":"https://partitionstalls.com/pricing","getStarted":"https://partitionstalls.com/start","secureQuote":"https://partitionstalls.com/request-a-quote","scope":"Educational October 2026 budgets for all five materials at /pricing; supported powder-coated room-designer pricing at /start; separate exact ASI kit and approved accessory selling on the website. GET/HEAD reference lookup and legacy planning API results do not purchase, submit customer data or provide checkout totals."},"servers":[{"url":"https://partitionstalls.com","description":"Production"}],"components":{"schemas":{"PartitionPlanningInput":{"type":"object","additionalProperties":false,"required":["materialId","stalls","accessibility","privacy","installation"],"properties":{"materialId":{"type":"string","enum":["powder-coated-steel","plastic-laminate","solid-plastic-hdpe","phenolic-black-core","phenolic-color-thru","stainless-steel"],"description":"Six calculator directions; Phenolic has Black Core and Color-Thru planning directions."},"stalls":{"type":"integer","enum":[1,2,3,4,5,6],"description":"Toilet compartment count."},"accessibility":{"type":"string","enum":["standard","accessibility"],"description":"Quote-review context only; it does not change the planning range."},"privacy":{"type":"string","enum":["standard","extra-privacy"],"description":"extra-privacy adds the approved fixed $150 per selected stall to both ends of the range."},"installation":{"type":"string","enum":["not-included","included"],"description":"included adds the approved fixed $350 per selected stall to both ends of the range."}}},"ReferencePrice":{"type":"object","required":["amount","currency","label"],"properties":{"amount":{"type":"number","description":"Owner-supplied reference price in USD; not checkout, an offer, final quote, or availability statement."},"currency":{"type":"string","enum":["USD"]},"label":{"type":"string"}}},"CatalogProduct":{"type":"object","required":["id","brand","family","model","description","category","referencePrice","quotePath","boundary"],"properties":{"id":{"type":"string"},"brand":{"type":"string"},"family":{"type":"string"},"model":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"referencePrice":{"$ref":"#/components/schemas/ReferencePrice"},"quotePath":{"type":"string","const":"/request-a-quote"},"boundary":{"type":"string"}}},"CatalogSearchResponse":{"type":"object","required":["apiVersion","purpose","totalMatching","returned","boundary","quotePath","products"],"properties":{"apiVersion":{"type":"string"},"purpose":{"type":"string","const":"Quote-preparation reference catalog"},"totalMatching":{"type":"integer","minimum":0},"returned":{"type":"integer","minimum":0},"boundary":{"type":"string"},"quotePath":{"type":"string","const":"/request-a-quote"},"products":{"type":"array","items":{"$ref":"#/components/schemas/CatalogProduct"}}}},"EstimateAdditions":{"type":"object","required":["extraPrivacyPerStall","installationPerStall","selectedPerStall","selectedLabel"],"properties":{"extraPrivacyPerStall":{"type":"number","description":"150 only when extra privacy is selected; otherwise 0."},"installationPerStall":{"type":"number","description":"350 only when installation is selected; otherwise 0."},"selectedPerStall":{"type":"number"},"selectedLabel":{"type":"string"}}},"EstimateRange":{"type":"object","required":["low","high"],"properties":{"low":{"type":"number"},"high":{"type":"number"}}},"PlanningEstimate":{"type":"object","required":["low","high","currency","basis","perCompartment","additions"],"properties":{"low":{"type":"number","description":"Selected total planning-range lower endpoint in USD."},"high":{"type":"number","description":"Selected total planning-range upper endpoint in USD."},"currency":{"type":"string","enum":["USD"]},"basis":{"type":"string"},"perCompartment":{"$ref":"#/components/schemas/EstimateRange"},"additions":{"$ref":"#/components/schemas/EstimateAdditions"}}},"PlanningEstimateResponse":{"type":"object","required":["apiVersion","purpose","input","estimate","quotePath","boundary"],"properties":{"apiVersion":{"type":"string"},"purpose":{"type":"string","const":"Commercial bathroom partition planning estimate"},"input":{"$ref":"#/components/schemas/PartitionPlanningInput"},"estimate":{"$ref":"#/components/schemas/PlanningEstimate"},"quotePath":{"type":"string","const":"/request-a-quote"},"boundary":{"type":"string"}}},"ValidationError":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"acceptedValues":{"type":"object","description":"Present on calculator-input validation responses.","additionalProperties":true}}},"RateLimitError":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}},"paths":{"/api/v1/products":{"get":{"tags":["Catalog"],"summary":"Search owner-supplied accessory reference rows","description":"Returns a quote-preparation reference catalog. Reference prices are not offers, availability statements, final project totals, or checkout prices.","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string"},"description":"Optional brand, family, model, or description search."},{"name":"category","in":"query","required":false,"schema":{"type":"string"},"description":"Optional exact catalog category filter."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":25}}],"responses":{"200":{"description":"Quote-preparation catalog results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogSearchResponse"},"examples":{"mirrorReference":{"summary":"One current mirror reference row","value":{"apiVersion":"2026-10-24","purpose":"Quote-preparation reference catalog","totalMatching":1,"returned":1,"boundary":"Reference-price information is for early commercial planning only. It is not checkout, an offer, a final quote, an inventory statement, compatibility confirmation, or a final project total.","quotePath":"/request-a-quote","products":[{"id":"asi-asi 0535-1830-85","brand":"ASI","family":"Mirrors (Category)","model":"ASI 0535-1830","description":"ASI 0535-1830 (18 x 30) Fixed Angle Tilted Mirror, 18\"W X 30\"H","category":"Mirrors","referencePrice":{"amount":223.39,"currency":"USD","label":"Owner-supplied reference price"},"quotePath":"/request-a-quote","boundary":"Reference-price information is for early commercial planning only. It is not checkout, an offer, a final quote, an inventory statement, compatibility confirmation, or a final project total."}]}}}}}},"429":{"description":"Rate limit exceeded; use the returned Retry-After header before another request.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/api/v1/products/{id}":{"get":{"tags":["Catalog"],"summary":"Read one owner-supplied accessory reference row","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Quote-preparation catalog row","content":{"application/json":{"schema":{"type":"object","required":["apiVersion","purpose","product"],"properties":{"apiVersion":{"type":"string"},"purpose":{"type":"string","const":"Quote-preparation reference catalog"},"product":{"$ref":"#/components/schemas/CatalogProduct"}}}}}},"404":{"description":"Catalog reference not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"429":{"description":"Rate limit exceeded; use Retry-After before retrying.","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/api/v1/quote-estimate":{"get":{"tags":["Partition planning"],"summary":"Get a commercial bathroom partition planning range","description":"Preferred agent method. Provide the five calculator inputs as query parameters. The base material range is adjusted only by the approved fixed extra-privacy and installation additions. Project city, including New York City, is not an input because final freight, taxes, access, installation scope, availability, timing, and configuration require written quote review.","parameters":[{"name":"materialId","in":"query","required":true,"schema":{"type":"string","enum":["powder-coated-steel","plastic-laminate","solid-plastic-hdpe","phenolic-black-core","phenolic-color-thru","stainless-steel"]}},{"name":"stalls","in":"query","required":true,"schema":{"type":"integer","enum":[1,2,3,4,5,6]}},{"name":"accessibility","in":"query","required":true,"schema":{"type":"string","enum":["standard","accessibility"]}},{"name":"privacy","in":"query","required":true,"schema":{"type":"string","enum":["standard","extra-privacy"]}},{"name":"installation","in":"query","required":true,"schema":{"type":"string","enum":["not-included","included"]}}],"responses":{"200":{"description":"Owner-approved planning range, not a final quote or availability commitment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanningEstimateResponse"},"examples":{"fourStallHdpe":{"summary":"Four Solid Plastic (HDPE) compartments with both approved additions","value":{"apiVersion":"2026-10-24","purpose":"Commercial bathroom partition planning estimate","input":{"materialId":"solid-plastic-hdpe","stalls":4,"accessibility":"standard","privacy":"extra-privacy","installation":"included"},"estimate":{"low":4990,"high":8600,"currency":"USD","basis":"Material planning range with selected additions","perCompartment":{"low":1247.5,"high":2150},"additions":{"extraPrivacyPerStall":150,"installationPerStall":350,"selectedPerStall":500,"selectedLabel":"extra privacy + installation"}},"quotePath":"/request-a-quote","boundary":"This is an owner-approved planning range, not a final quote, order total, availability statement, or project commitment. Final dimensions, manufacturer/series, mounting, accessories, freight, taxes, delivery, installation scope, and final price require written quote review."}}}}}},"400":{"description":"Invalid calculator input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"429":{"description":"Rate limit exceeded; use Retry-After before retrying.","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}},"post":{"tags":["Partition planning"],"summary":"Get the same planning range using a compact JSON body","description":"Use GET for routine agent lookup. POST accepts the same five inputs in a JSON body and returns the same non-binding planning range.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartitionPlanningInput"},"example":{"materialId":"solid-plastic-hdpe","stalls":4,"accessibility":"standard","privacy":"extra-privacy","installation":"included"}}}},"responses":{"200":{"description":"Owner-approved planning range, not a final quote or availability commitment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanningEstimateResponse"}}}},"400":{"description":"Invalid calculator input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"413":{"description":"Planning request payload is too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"429":{"description":"Rate limit exceeded; use Retry-After before retrying.","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/api/v1/material-guide.pdf":{"get":{"tags":["Partition planning"],"summary":"Download a material guide with the current calculator selection","description":"Creates a visitor-initiated, planning-only PDF guide. Its first page combines the material facts with the valid selected material, compartment count, fixed additions, accessibility direction, and calculated planning range; following pages retain the matching color and finish reference. It creates no lead, quote, order, or specification approval.","parameters":[{"name":"materialId","in":"query","required":true,"schema":{"type":"string","enum":["powder-coated-steel","plastic-laminate","solid-plastic-hdpe","phenolic-black-core","phenolic-color-thru","stainless-steel"]}},{"name":"stalls","in":"query","required":true,"schema":{"type":"integer","enum":[1,2,3,4,5,6]}},{"name":"accessibility","in":"query","required":true,"schema":{"type":"string","enum":["standard","accessibility"]}},{"name":"privacy","in":"query","required":true,"schema":{"type":"string","enum":["standard","extra-privacy"]}},{"name":"installation","in":"query","required":true,"schema":{"type":"string","enum":["not-included","included"]}}],"responses":{"200":{"description":"Selection-aware material guide PDF, not a final quote or availability commitment","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid calculator input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"429":{"description":"Rate limit exceeded; use Retry-After before retrying.","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"502":{"description":"The matching reference guide could not be prepared","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}}}}},"x-partition-stalls-boundary":"No endpoint accepts an order, creates a binding price, predicts a project-specific lead time, confirms inventory or compatibility, approves a specification, or sends a quote. Direct a user to /request-a-quote for written project review."}