Check whether Detritus serves a US ZIP code and list the dumpster sizes, portable sanitation products, disposal materials, and other jobsite services (temporary fencing, storage containers, water, power) available there. Read-only.
輸入參數zip必填
make_service_request
Submit quote request
Submit one quote request to Detritus for dumpster, portable sanitation, and/or other jobsite services. All items for one job go in a single request and produce a single quote. Creates a customer record and quote request at Detritus and sends the customer a text and/or email with their quote. Requires the customer's first name, last name, email, phone, full delivery address, delivery date, and selected products, and customerConfirmed: true after the customer has reviewed those details. Not safe to retry: calling it again for the same job creates a duplicate request. Returns serviceRequestId.
輸入參數request必填customerConfirmed必填
check_service_request_status
Check quote request status
Get the status of an existing Detritus quote request (received, assigned, building, sent). Requires serviceRequestId and the phone or email used on the request. "building" is normal while the quote is prepared. Returns keepPolling true while the quote is still being prepared. When status is sent, returns the quote link and price summary. Read-only.
輸入參數emailphoneserviceRequestId必填
get_quote
Get quote
Get the customer-facing quote for an existing Detritus request: totals, price breakdown by product type, and quote link. Requires serviceRequestId and the phone or email used on the request. Returns customer pricing only (no vendor cost). Read-only.