Delivery Fill Order
The delivery fill order resource.
/deliveryFillOrderList delivery fill orders
Retrieve a paginated list of delivery fill 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 '<your-host>/deliveryFillOrder?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'[
{
"id": "abc123def456",
"companyId": "xyz789",
"tankId": "xyz789",
"readableId": "xyz789",
"serviceDate": "2026-01-01",
"status": "string",
"kind": "string",
"origin": "string"
}
]/deliveryFillOrderRetrieve a delivery fill order
Fetch a single delivery fill order by filtering on `id`.
Query parameters
idstringMatch on the delivery fill order's `id`, e.g. `eq.{id}`.
curl --request GET \
--url '<your-host>/deliveryFillOrder?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'{
"id": "abc123def456",
"companyId": "xyz789",
"tankId": "xyz789",
"readableId": "xyz789",
"serviceDate": "2026-01-01",
"status": "string",
"kind": "string",
"origin": "string"
}/deliveryFillOrderCreate a delivery fill order
Create a new delivery fill order.
Body parameters
tankIdstringrequiredreadableIdstringrequiredserviceDatedaterequiredstatusstringrequiredkindstringrequiredoriginstringrequiredrequestedGallonsnumberdeliveredGallonsnumberplannedServiceSecondsnumberrequirednotesstringwindowStarttimestampwindowEndtimestampdeliveryStatestringrequiredgaugeBeforePercentnumberThe tank gauge as the driver read it before the drop, in percent. What the books say, even over 100.
gaugeAfterPercentnumberThe tank gauge as the driver read it after the drop, in percent.
curl --request POST \
--url <your-host>/deliveryFillOrder \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"tankId":"xyz789","readableId":"xyz789","serviceDate":"2026-01-01","status":"string","kind":"string","origin":"string","plannedServiceSeconds":0,"deliveryState":"string"}'{
"id": "abc123def456",
"companyId": "xyz789",
"tankId": "xyz789",
"readableId": "xyz789",
"serviceDate": "2026-01-01",
"status": "string",
"kind": "string",
"origin": "string"
}/deliveryFillOrderUpdate a delivery fill order
Update an existing delivery fill order, matched on `id`.
Body parameters
tankIdstringrequiredreadableIdstringrequiredserviceDatedaterequiredstatusstringrequiredkindstringrequiredoriginstringrequiredrequestedGallonsnumberdeliveredGallonsnumberplannedServiceSecondsnumberrequirednotesstringwindowStarttimestampwindowEndtimestampdeliveryStatestringrequiredgaugeBeforePercentnumberThe tank gauge as the driver read it before the drop, in percent. What the books say, even over 100.
gaugeAfterPercentnumberThe tank gauge as the driver read it after the drop, in percent.
curl --request PATCH \
--url '<your-host>/deliveryFillOrder?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"tankId":"xyz789"}'{
"id": "abc123def456",
"companyId": "xyz789",
"tankId": "xyz789",
"readableId": "xyz789",
"serviceDate": "2026-01-01",
"status": "string",
"kind": "string",
"origin": "string"
}/deliveryFillOrderDelete a delivery fill order
Delete a delivery fill order, matched on `id`. Returns 204 No Content.
Query parameters
idstringThe `id` of the delivery fill order to delete, e.g. `eq.{id}`.
curl --request DELETE \
--url '<your-host>/deliveryFillOrder?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'