Orders
The Storefront Order object
idstringoptionalPublic identifier of the order.
public_idstringoptionalPublic identifier of the order.
statusstringoptionalOrder lifecycle status.
typestringoptionalOrder type, usually storefront for orders created by this API.
payloadobjectoptionalFleetOps payload created from the storefront cart.
customerobjectoptionalCustomer associated with the order.
metaobjectoptionalStorefront checkout, payment, totals, and fulfillment metadata.
notesstringoptionalOrder notes supplied during checkout capture.
created_attimestampoptionalTime the order was created.
updated_attimestampoptionalTime the order was last updated.
{
"id": "order_9Kx2mQ1",
"public_id": "order_9Kx2mQ1",
"status": "created",
"type": "storefront",
"payload": null,
"customer": null,
"meta": {
"checkout_id": "checkout_123",
"storefront": "Acme Market",
"total": 5150,
"currency": "USD"
},
"notes": null,
"created_at": "2026-05-07T09:30:00Z",
"updated_at": "2026-05-07T09:30:00Z"
}/v1/orders/picked-upComplete Order Pickup
Marks an authenticated customer's pickup order as completed. Fleetbase verifies that the order belongs to the customer before updating the order status.
orderstringrequiredPublic ID of the pickup order to mark completed.
/v1/orders/picked-upcurl -X PUT https://api.fleetbase.io/v1/orders/picked-up \
-H "Authorization: Bearer flb_live_…" \
-H "Content-Type: application/json" \
-d '{
"order": "{{order_id}}"
}'/v1/orders/receiptGet Order Receipt
Returns a receipt for an authenticated customer's order when the payment method supports receipts. QPay orders can generate an Ebarimt receipt.
orderstringrequiredPublic ID of the order to retrieve a receipt for.
ebarimt_receiver_typeenumoptionalEbarimt receiver type for QPay receipts. One of CITIZEN, COMPANY.
ebarimt_receiverstringoptionalCompany registration number. Required when ebarimt_receiver_type is COMPANY.
/v1/orders/receiptcurl -X POST https://api.fleetbase.io/v1/orders/receipt \
-H "Authorization: Bearer flb_live_…" \
-H "Content-Type: application/json" \
-d '{
"order": "{{order_id}}",
"ebarimt_receiver_type": "CITIZEN",
"ebarimt_receiver": ""
}'