FOMDocs
Reference

Deliveries API

Every deliveries endpoint, its fields and an example.

Generated from FOM's OpenAPI document. Every request needs an API key; see Authentication.

The delivery object

FieldTypeDescription
idstring
statusscheduled, out_for_delivery, delivered
scheduled_atstringCan be null.
delivered_atstringCan be null.
order_idstring
order_nostringe.g. ORD-0319
addressstring
delivery_feenumberCan be null.
created_atstring
updated_atstring

List deliveries, newest first, or changes since a time

GET /public/v1/deliveries

Scope: deliveries:read

Query parameters

FieldTypeRequiredDescription
limitnumberDefault 50. 1–100.
cursorstringThe next_cursor from the previous page.
updated_sincestringOnly records changed at or after this time, oldest change first. Keep the last updated_at you saw and ask from there to sync. e.g. 2026-11-25T08:00:00.000Z
statusscheduled, out_for_delivery, delivered

Returns

A page of delivery objects (The delivery object).

Example

curl "https://api.getfom.com/public/v1/deliveries?limit=50&updated_since=2026-11-25T08%3A00%3A00.000Z" \
  -H "Authorization: Bearer $FOM_API_KEY"

One delivery

GET /public/v1/deliveries/{deliveryId}

Scope: deliveries:read

Path parameters

FieldTypeRequiredDescription
deliveryIdstringYes

Returns

The delivery (The delivery object).

Example

curl "https://api.getfom.com/public/v1/deliveries/DELIVERY_ID" \
  -H "Authorization: Bearer $FOM_API_KEY"

Change a delivery's status or time

PATCH /public/v1/deliveries/{deliveryId}

Scope: deliveries:write

Marking it delivered also moves the order, as in FOM.

Path parameters

FieldTypeRequiredDescription
deliveryIdstringYes

Body

FieldTypeRequiredDescription
statusscheduled, out_for_delivery, delivered
scheduled_atstringCan be null.

Returns

The delivery (The delivery object).

Example

curl -X PATCH "https://api.getfom.com/public/v1/deliveries/DELIVERY_ID" \
  -H "Authorization: Bearer $FOM_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "status": "out_for_delivery"
  }'

On this page