Purchasing Rfq Favorite

The purchasing rfq favorite resource.

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

List purchasing rfq favorites

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

Retrieve a purchasing rfq favorite

Fetch a single purchasing rfq favorite by filtering on `rfqId`.

Query parameters

rfqIdstring

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

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

Create a purchasing rfq favorite

Create a new purchasing rfq favorite.

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

Update a purchasing rfq favorite

Update an existing purchasing rfq favorite, matched on `rfqId`.

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

Delete a purchasing rfq favorite

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

Query parameters

rfqIdstring

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

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