Purchasing Rfq To Supplier Quote

The purchasing rfq to supplier quote resource.

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

List purchasing rfq to supplier quotes

Retrieve a paginated list of purchasing rfq to supplier quotes. 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/purchasingRfqToSupplierQuote
curl --request GET \
  --url 'https://rest.carbon.ms/purchasingRfqToSupplierQuote?select=*&limit=10' \
  --header 'Authorization: Bearer <api-key>'
Response
[
  {
    "purchasingRfqId": "xyz789",
    "supplierQuoteId": "xyz789",
    "companyId": "xyz789"
  }
]
GET/purchasingRfqToSupplierQuote

Retrieve a purchasing rfq to supplier quote

Fetch a single purchasing rfq to supplier quote by filtering on `purchasingRfqId`.

Query parameters

purchasingRfqIdstring

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

GEThttps://rest.carbon.ms/purchasingRfqToSupplierQuote
curl --request GET \
  --url 'https://rest.carbon.ms/purchasingRfqToSupplierQuote?purchasingRfqId=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>'
Response
{
  "purchasingRfqId": "xyz789",
  "supplierQuoteId": "xyz789",
  "companyId": "xyz789"
}
POST/purchasingRfqToSupplierQuote

Create a purchasing rfq to supplier quote

Create a new purchasing rfq to supplier quote.

Body parameters

companyIdstringrequired

References company.id

POSThttps://rest.carbon.ms/purchasingRfqToSupplierQuote
curl --request POST \
  --url https://rest.carbon.ms/purchasingRfqToSupplierQuote \
  --header 'Authorization: Bearer <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'Prefer: return=representation' \
  --data '{"companyId":"xyz789"}'
Response
{
  "purchasingRfqId": "xyz789",
  "supplierQuoteId": "xyz789",
  "companyId": "xyz789"
}
PATCH/purchasingRfqToSupplierQuote

Update a purchasing rfq to supplier quote

Update an existing purchasing rfq to supplier quote, matched on `purchasingRfqId`.

Body parameters

companyIdstringrequired

References company.id

PATCHhttps://rest.carbon.ms/purchasingRfqToSupplierQuote
curl --request PATCH \
  --url 'https://rest.carbon.ms/purchasingRfqToSupplierQuote?purchasingRfqId=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'Prefer: return=representation' \
  --data '{"companyId":"xyz789"}'
Response
{
  "purchasingRfqId": "xyz789",
  "supplierQuoteId": "xyz789",
  "companyId": "xyz789"
}
DELETE/purchasingRfqToSupplierQuote

Delete a purchasing rfq to supplier quote

Delete a purchasing rfq to supplier quote, matched on `purchasingRfqId`. Returns 204 No Content.

Query parameters

purchasingRfqIdstring

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

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