Purchasing Rfq Favorite
The purchasing rfq favorite resource.
Basehttps://rest.carbon.ms/purchasingRfqFavorite
GET
/purchasingRfqFavoriteList purchasing rfq favorites
Retrieve a paginated list of purchasing rfq favorites. Filter, order, and select columns with PostgREST query parameters.
Query parameters
selectstringComma-separated columns to return. Defaults to all.
orderstringColumn to sort by, e.g. `createdAt.desc`.
limitintegerMaximum rows to return.
offsetintegerRows 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
/purchasingRfqFavoriteRetrieve a purchasing rfq favorite
Fetch a single purchasing rfq favorite by filtering on `rfqId`.
Query parameters
rfqIdstringMatch 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
/purchasingRfqFavoriteCreate 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
/purchasingRfqFavoriteUpdate 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
/purchasingRfqFavoriteDelete a purchasing rfq favorite
Delete a purchasing rfq favorite, matched on `rfqId`. Returns 204 No Content.
Query parameters
rfqIdstringThe `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