Sales Rfq

The sales rfq resource.

Basehttps://rest.carbon.ms/salesRfq
GET/salesRfq

List sales rfqs

Retrieve a paginated list of sales rfqs. Filter, order, and select columns with PostgREST query parameters.

Query parameters

selectstring

Comma-separated columns to return. Defaults to all.

orderstring

Column to sort by, e.g. `createdAt.desc`.

limitinteger

Maximum rows to return.

offsetinteger

Rows to skip, for pagination.

GEThttps://rest.carbon.ms/salesRfq
curl --request GET \
  --url 'https://rest.carbon.ms/salesRfq?select=*&limit=10' \
  --header 'Authorization: Bearer <api-key>'
Response
[
  {
    "id": "abc123def456",
    "rfqId": "xyz789",
    "revisionId": 0,
    "status": "string",
    "rfqDate": "2026-01-01",
    "companyId": "xyz789",
    "employeeId": "xyz789",
    "customerId": "xyz789"
  }
]
GET/salesRfq

Retrieve a sales rfq

Fetch a single sales rfq by filtering on `id`.

Query parameters

idstring

Match on the sales rfq's `id`, e.g. `eq.{id}`.

GEThttps://rest.carbon.ms/salesRfq
curl --request GET \
  --url 'https://rest.carbon.ms/salesRfq?id=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>'
Response
{
  "id": "abc123def456",
  "rfqId": "xyz789",
  "revisionId": 0,
  "status": "string",
  "rfqDate": "2026-01-01",
  "companyId": "xyz789",
  "employeeId": "xyz789",
  "customerId": "xyz789"
}
POST/salesRfq

Create a sales rfq

Create a new sales rfq.

Body parameters

rfqIdstringrequired
revisionIdnumberrequired
statussalesRfqStatusrequired
employeeIdstring

References user.id

customerIdstring

References customer.id

customerContactIdstring

References customerContact.id

customerReferencestring
rfqDatedaterequired
expirationDatedate
locationIdstring

References location.id

assigneestring

References user.id

companyIdstringrequired

References company.id

customFieldsobject
customerLocationIdstring

References customerLocation.id

externalNotesobject
internalNotesobject
salesPersonIdstring
tagsarray
noQuoteReasonIdstring

References noQuoteReason.id

opportunityIdstring

References opportunity.id

completedDatetimestamp
customerEngineeringContactIdstring

References customerContact.id

POSThttps://rest.carbon.ms/salesRfq
curl --request POST \
  --url https://rest.carbon.ms/salesRfq \
  --header 'Authorization: Bearer <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'Prefer: return=representation' \
  --data '{"rfqId":"xyz789","revisionId":0,"status":"string","rfqDate":"2026-01-01","companyId":"xyz789"}'
Response
{
  "id": "abc123def456",
  "rfqId": "xyz789",
  "revisionId": 0,
  "status": "string",
  "rfqDate": "2026-01-01",
  "companyId": "xyz789",
  "employeeId": "xyz789",
  "customerId": "xyz789"
}
PATCH/salesRfq

Update a sales rfq

Update an existing sales rfq, matched on `id`.

Body parameters

rfqIdstringrequired
revisionIdnumberrequired
statussalesRfqStatusrequired
employeeIdstring

References user.id

customerIdstring

References customer.id

customerContactIdstring

References customerContact.id

customerReferencestring
rfqDatedaterequired
expirationDatedate
locationIdstring

References location.id

assigneestring

References user.id

companyIdstringrequired

References company.id

customFieldsobject
customerLocationIdstring

References customerLocation.id

externalNotesobject
internalNotesobject
salesPersonIdstring
tagsarray
noQuoteReasonIdstring

References noQuoteReason.id

opportunityIdstring

References opportunity.id

completedDatetimestamp
customerEngineeringContactIdstring

References customerContact.id

PATCHhttps://rest.carbon.ms/salesRfq
curl --request PATCH \
  --url 'https://rest.carbon.ms/salesRfq?id=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'Prefer: return=representation' \
  --data '{"rfqId":"xyz789"}'
Response
{
  "id": "abc123def456",
  "rfqId": "xyz789",
  "revisionId": 0,
  "status": "string",
  "rfqDate": "2026-01-01",
  "companyId": "xyz789",
  "employeeId": "xyz789",
  "customerId": "xyz789"
}
DELETE/salesRfq

Delete a sales rfq

Delete a sales rfq, matched on `id`. Returns 204 No Content.

Query parameters

idstring

The `id` of the sales rfq to delete, e.g. `eq.{id}`.

DELETEhttps://rest.carbon.ms/salesRfq
curl --request DELETE \
  --url 'https://rest.carbon.ms/salesRfq?id=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>'
204 No Content