https://api.theswarm.io/api/orders/list/2

Serializer

1 Handled
0.15 ms Total time

serialize 1

Data Context Normalizer Encoder Time
array
Show contents
[
  "orders" => []
  "history" => [
    [
      "id" => 6374
      "status" => "sent"
      "restaurantId" => 2
      "time" => "2025-07-06T19:17:16"
      "total_price" => 81.3
      "walletDeduction" => 0
      "usedRewardPoints" => "0"
      "gainedRewardPoints" => "244"
      "orderItems" => [
        [
          "name" => "Margherita"
          "amount" => 5
          "unitPrice" => 10.9
          "totalPrice" => 54.5
          "toppings" => []
        ]
        [
          "name" => "Diavola"
          "amount" => 1
          "unitPrice" => 13.9
          "totalPrice" => 13.9
          "toppings" => []
        ]
        [
          "name" => "Zonella"
          "amount" => 1
          "unitPrice" => 12.9
          "totalPrice" => 12.9
          "toppings" => []
        ]
      ]
      "rewards" => []
    ]
    [
      "id" => 6366
      "status" => "sent"
      "restaurantId" => 2
      "time" => "2025-07-06T17:57:12"
      "total_price" => 13.9
      "walletDeduction" => 0
      "usedRewardPoints" => "0"
      "gainedRewardPoints" => "42"
      "orderItems" => [
        [
          "name" => "Bufala"
          "amount" => 1
          "unitPrice" => 13.9
          "totalPrice" => 13.9
          "toppings" => []
        ]
      ]
      "rewards" => []
    ]
  ]
]
Format: json
Show context
[
  "json_encode_options" => 15
]
JsonEncoder (0.01 ms) 0.15 ms

deserialize 0

Nothing was deserialized.

normalize 0

Nothing was normalized.

denormalize 0

Nothing was denormalized.

encode 0

Nothing was encoded.

decode 0

Nothing was decoded.