RetailHardHat Developer docs

REST API documentation

Bids

Construction bids from contractors/vendors for site work

Supported operations

MethodPathDescription
GET/api/v1/bidsList all bids
GET/api/v1/bids/:idGet a bid by ID
POST/api/v1/bidsCreate a new bid
PATCH/api/v1/bids/:idUpdate a bid
DELETE/api/v1/bids/:idDelete a bid
GET/api/v1/bids/:bidId/contactsList contacts for a bid
POST/api/v1/bids/:bidId/contactsAdd a contact to a bid
PATCH/api/v1/bids/:bidId/contacts/:idUpdate a bid contact
DELETE/api/v1/bids/:bidId/contacts/:idDelete a bid contact

Example request

Replace YOUR_API_KEY with a private key stored in your environment. Replace path parameters with records from your organization.

curl --request GET "/api/v1/bids" \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Accept: application/json"

Field reference

Required means required by the underlying data model, not necessarily caller-supplied. The server derives protected identity and ownership fields; endpoint validation controls which fields are accepted. Sensitive credential fields are omitted here.

FieldTypeModel requirementDescription
idstringOptionalUnique identifier (auto-generated)
siteIduuidOptionalsite Id

Related resource: sites

projectIduuidOptionalproject Id
rfpIduuidOptionalrfp Id

Related resource: rfps

budgetPlanIduuidOptionalbudget Plan Id
vendorIduuidOptionalvendor Id

Related resource: vendors

dealBudgetLineItemIduuidOptionaldeal Budget Line Item Id
contractorstringRequiredcontractor
categorystringRequiredcategory
amountstringRequiredamount
originalContractAmountstringOptionaloriginal Contract Amount
forecastedAmountstringOptionalforecasted Amount
finalActualCoststringOptionalfinal Actual Cost
statusenumOptionalstatus

Values: pending, under_review, approved, rejected

contractStatusenumOptionalcontract Status

Values: none, negotiating, pending_signature, signed, executed, terminated

submittedDatedatetimeRequiredsubmitted Date
dueDatedatetimeOptionaldue Date
documentsnumberOptionaldocuments
notesstringOptionalnotes
contactNamestringOptionalcontact Name
contactEmailstringOptionalcontact Email
contactPhonestringOptionalcontact Phone
leasecommandContractIduuidOptionalleasecommand Contract Id
createdAtdatetimeOptionalCreation timestamp (auto)
updatedAtdatetimeOptionalLast update timestamp (auto)