Purchasing Rfq To Purchase Order

The purchasing rfq to purchase order resource.

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

List 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

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/purchasingRfqToPurchaseOrder
curl --request GET \
  --url 'https://rest.carbon.ms/purchasingRfqToPurchaseOrder?select=*&limit=10' \
  --header 'Authorization: Bearer <api-key>'
Response
[
  {
    "purchasingRfqId": "xyz789",
    "purchaseOrderId": "xyz789",
    "companyId": "xyz789"
  }
]
GET/purchasingRfqToPurchaseOrder

Retrieve a purchasing rfq to purchase order

Fetch a single purchasing rfq to purchase order by filtering on `purchasingRfqId`.

Query parameters

purchasingRfqIdstring

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

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

Create a purchasing rfq to purchase order

Create a new purchasing rfq to purchase order.

Body parameters

companyIdstringrequired

References company.id

POSThttps://rest.carbon.ms/purchasingRfqToPurchaseOrder
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"}'
Response
{
  "purchasingRfqId": "xyz789",
  "purchaseOrderId": "xyz789",
  "companyId": "xyz789"
}
PATCH/purchasingRfqToPurchaseOrder

Update a purchasing rfq to purchase order

Update an existing purchasing rfq to purchase order, matched on `purchasingRfqId`.

Body parameters

companyIdstringrequired

References company.id

PATCHhttps://rest.carbon.ms/purchasingRfqToPurchaseOrder
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"}'
Response
{
  "purchasingRfqId": "xyz789",
  "purchaseOrderId": "xyz789",
  "companyId": "xyz789"
}
DELETE/purchasingRfqToPurchaseOrder

Delete a purchasing rfq to purchase order

Delete a purchasing rfq to purchase order, matched on `purchasingRfqId`. Returns 204 No Content.

Query parameters

purchasingRfqIdstring

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

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