Purchasing Rfq

The purchasing rfq resource.

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

List purchasing rfqs

Retrieve a paginated list of purchasing 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/purchasingRfq
curl --request GET \
  --url 'https://rest.carbon.ms/purchasingRfq?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",
    "expirationDate": "2026-01-01"
  }
]
GET/purchasingRfq

Retrieve a purchasing rfq

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

Query parameters

idstring

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

GEThttps://rest.carbon.ms/purchasingRfq
curl --request GET \
  --url 'https://rest.carbon.ms/purchasingRfq?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",
  "expirationDate": "2026-01-01"
}
POST/purchasingRfq

Create a purchasing rfq

Create a new purchasing rfq.

Body parameters

rfqIdstringrequired
revisionIdnumberrequired
statuspurchasingRfqStatusrequired
employeeIdstring

References user.id

rfqDatedaterequired
expirationDatedate
internalNotesstring
notesobject
locationIdstring

References location.id

assigneestring

References user.id

companyIdstringrequired

References company.id

customFieldsobject
POSThttps://rest.carbon.ms/purchasingRfq
curl --request POST \
  --url https://rest.carbon.ms/purchasingRfq \
  --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",
  "expirationDate": "2026-01-01"
}
PATCH/purchasingRfq

Update a purchasing rfq

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

Body parameters

rfqIdstringrequired
revisionIdnumberrequired
statuspurchasingRfqStatusrequired
employeeIdstring

References user.id

rfqDatedaterequired
expirationDatedate
internalNotesstring
notesobject
locationIdstring

References location.id

assigneestring

References user.id

companyIdstringrequired

References company.id

customFieldsobject
PATCHhttps://rest.carbon.ms/purchasingRfq
curl --request PATCH \
  --url 'https://rest.carbon.ms/purchasingRfq?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",
  "expirationDate": "2026-01-01"
}
DELETE/purchasingRfq

Delete a purchasing rfq

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

Query parameters

idstring

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

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