example-data.com

food-orders

food-orders

Page 8 of 10.

userId
Judy Hackett @judy_hackett49
restaurantId
Mitchell, O'Kon and Kunde · South Janelle · ★ 3.2
items
[
  {
    "menuItemId": 342,
    "quantity": 1,
    "unitPrice": 76.35,
    "lineTotal": 76.35
  }
]
subtotal
76.35
deliveryFee
5.03
tip
6.98
total
88.36
currency
USD
status
delivered
placedAt
deliveredAt
userId
Hortense Cruickshank @hortense.cruickshank65
restaurantId
Hartmann, Dach and Kub · Gusikowskifield · ★ 4.2
items
[
  {
    "menuItemId": 555,
    "quantity": 1,
    "unitPrice": 38.64,
    "lineTotal": 38.64
  }
]
subtotal
38.64
deliveryFee
6.71
tip
8.2
total
53.55
currency
USD
status
delivered
placedAt
deliveredAt
userId
Niko Wisozk @niko_wisozk
restaurantId
Walsh LLC · Predovicville · ★ 4.8
items
[
  {
    "menuItemId": 1450,
    "quantity": 3,
    "unitPrice": 40.3,
    "lineTotal": 120.9
  },
  {
    "menuItemId": 1444,
    "quantity": 1,
    "unitPrice": 60.6,
    "lineTotal": 60.6
  }
]
subtotal
181.5
deliveryFee
5.47
tip
9.53
total
196.5
currency
USD
status
delivered
placedAt
deliveredAt
userId
Roma Durgan @roma.durgan
restaurantId
Simonis - Kshlerin · Stanleybury · ★ 2.8
items
[
  {
    "menuItemId": 682,
    "quantity": 2,
    "unitPrice": 5.31,
    "lineTotal": 10.62
  }
]
subtotal
10.62
deliveryFee
4.08
tip
4.42
total
19.12
currency
USD
status
placed
placedAt
deliveredAt
userId
Loren Schmidt @loren_schmidt
restaurantId
Pouros, O'Reilly and Block · Lake Chandler · ★ 3.5
items
[
  {
    "menuItemId": 706,
    "quantity": 1,
    "unitPrice": 67.69,
    "lineTotal": 67.69
  },
  {
    "menuItemId": 710,
    "quantity": 1,
    "unitPrice": 14.91,
    "lineTotal": 14.91
  },
  {
    "menuItemId": 716,
    "quantity": 3,
    "unitPrice": 41.54,
    "lineTotal": 124.62
  },
  {
    "menuItemId": 727,
    "quantity": 1,
    "unitPrice": 49.16,
    "lineTotal": 49.16
  }
]
subtotal
256.38
deliveryFee
3.71
tip
11.55
total
271.64
currency
USD
status
delivered
placedAt
deliveredAt
userId
April Kihn @april.kihn55
restaurantId
Schimmel LLC · Clovis · ★ 3.3
items
[
  {
    "menuItemId": 1258,
    "quantity": 1,
    "unitPrice": 62.96,
    "lineTotal": 62.96
  },
  {
    "menuItemId": 1249,
    "quantity": 3,
    "unitPrice": 26.49,
    "lineTotal": 79.47
  },
  {
    "menuItemId": 1254,
    "quantity": 1,
    "unitPrice": 48.26,
    "lineTotal": 48.26
  },
  {
    "menuItemId": 1253,
    "quantity": 3,
    "unitPrice": 58.53,
    "lineTotal": 175.59
  }
]
subtotal
366.28
deliveryFee
3.47
tip
11.12
total
380.87
currency
USD
status
delivered
placedAt
deliveredAt

Showing first 6 of 24 on this page.

curl -sS \
  "https://example-data.com/api/v1/food-orders?limit=25"
const res = await fetch(
  "https://example-data.com/api/v1/food-orders?limit=25"
);
const { data, meta } = await res.json();
import type { FoodOrder, ListEnvelope } from "https://example-data.com/types/food-orders.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/food-orders?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<FoodOrder>;
import requests

res = requests.get(
    "https://example-data.com/api/v1/food-orders",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 169,
      "userId": 13,
      "restaurantId": 22,
      "items": [
        {
          "menuItemId": 342,
          "quantity": 1,
          "unitPrice": 76.35,
          "lineTotal": 76.35
        }
      ],
      "subtotal": 76.35,
      "deliveryFee": 5.03,
      "tip": 6.98,
      "total": 88.36,
      "currency": "USD",
      "status": "delivered",
      "placedAt": "2024-08-23T06:51:05.434Z",
      "deliveredAt": "2024-08-23T08:16:12.281Z"
    },
    {
      "id": 170,
      "userId": 83,
      "restaurantId": 38,
      "items": [
        {
          "menuItemId": 555,
          "quantity": 1,
          "unitPrice": 38.64,
          "lineTotal": 38.64
        }
      ],
      "subtotal": 38.64,
      "deliveryFee": 6.71,
      "tip": 8.2,
      "total": 53.55,
      "currency": "USD",
      "status": "delivered",
      "placedAt": "2025-02-23T01:56:56.634Z",
      "deliveredAt": "2025-02-23T05:13:51.046Z"
    },
    {
      "id": 171,
      "userId": 56,
      "restaurantId": 100,
      "items": [
        {
          "menuItemId": 1450,
          "quantity": 3,
          "unitPrice": 40.3,
          "lineTotal": 120.9
        },
        {
          "menuItemId": 1444,
          "quantity": 1,
          "unitPrice": 60.6,
          "lineTotal": 60.6
        }
      ],
      "subtotal": 181.5,
      "deliveryFee": 5.47,
      "tip": 9.53,
      "total": 196.5,
      "currency": "USD",
      "status": "delivered",
      "placedAt": "2025-03-24T21:34:59.357Z",
      "deliveredAt": "2025-03-25T00:12:40.277Z"
    }
  ],
  "meta": {
    "page": 8,
    "limit": 24,
    "total": 500,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/food-orders?page=8",
    "next": "/api/v1/food-orders?page=9",
    "prev": "/api/v1/food-orders?page=7"
  }
}
Draftbit