Purchasing Rfq To Purchase Order
The purchasing rfq to purchase order resource.
/purchasingRfqToPurchaseOrderList purchasing rfq to purchase orders
Retrieve a paginated list of purchasing rfq to purchase orders. 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.
curl --request GET \
--url 'https://rest.carbon.ms/purchasingRfqToPurchaseOrder?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'[
{
"purchasingRfqId": "xyz789",
"purchaseOrderId": "xyz789",
"companyId": "xyz789"
}
]/purchasingRfqToPurchaseOrderRetrieve a purchasing rfq to purchase order
Fetch a single purchasing rfq to purchase order by filtering on `purchasingRfqId`.
Query parameters
purchasingRfqIdstringMatch on the purchasing rfq to purchase order's `purchasingRfqId`, e.g. `eq.{id}`.
curl --request GET \
--url 'https://rest.carbon.ms/purchasingRfqToPurchaseOrder?purchasingRfqId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'{
"purchasingRfqId": "xyz789",
"purchaseOrderId": "xyz789",
"companyId": "xyz789"
}/purchasingRfqToPurchaseOrderCreate a purchasing rfq to purchase order
Create a new purchasing rfq to purchase order.
Body parameters
companyIdstringrequiredReferences company.id
curl --request POST \
--url https://rest.carbon.ms/purchasingRfqToPurchaseOrder \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"companyId":"xyz789"}'{
"purchasingRfqId": "xyz789",
"purchaseOrderId": "xyz789",
"companyId": "xyz789"
}/purchasingRfqToPurchaseOrderUpdate a purchasing rfq to purchase order
Update an existing purchasing rfq to purchase order, matched on `purchasingRfqId`.
Body parameters
companyIdstringrequiredReferences company.id
curl --request PATCH \
--url 'https://rest.carbon.ms/purchasingRfqToPurchaseOrder?purchasingRfqId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"companyId":"xyz789"}'{
"purchasingRfqId": "xyz789",
"purchaseOrderId": "xyz789",
"companyId": "xyz789"
}/purchasingRfqToPurchaseOrderDelete a purchasing rfq to purchase order
Delete a purchasing rfq to purchase order, matched on `purchasingRfqId`. Returns 204 No Content.
Query parameters
purchasingRfqIdstringThe `purchasingRfqId` of the purchasing rfq to purchase order to delete, e.g. `eq.{id}`.
curl --request DELETE \
--url 'https://rest.carbon.ms/purchasingRfqToPurchaseOrder?purchasingRfqId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'