List orders
1 min
code examples curl x get "https //api archbee com/v2/orders?page=1\&limit=20" \\ h "authorization bearer your token" import requests response = requests get( "https //api archbee com/v2/orders", headers={"authorization" "bearer your token"}, params={"page" 1, "limit" 20} ) orders = response json() const response = await fetch("https //api archbee com/v2/orders?page=1\&limit=20", { headers { "authorization" "bearer your token" } }); const orders = await response json(); require "net/http" require "json" uri = uri("https //api archbee com/v2/orders?page=1\&limit=20") req = net http get new(uri) req\["authorization"] = "bearer your token" res = net http start(uri hostname, uri port, use ssl true) { |http| http request(req) } orders = json parse(res body) responses // list of orders { "data" \[ { "id" "880e8400 e29b 41d4 a716 446655440003", "status" "pending", "items" \[ {} ], "subtotal" 159 98, "tax" 12 8, "total" 172 78, "shippingaddress" { "street" "123 main st", "street2" "apt 4b", "city" "springfield", "state" "il", "zipcode" "62701", "country" "us" }, "metadata" "", "tracking" { "carrier" "fedex", "trackingnumber" 794644790132, "estimateddelivery" "2025 07 15", "events" \[ { "timestamp" "", "location" "", "description" "" } ] }, "createdat" "", "updatedat" "" } ], "meta" { "page" 1, "limit" 20, "total" 142, "totalpages" 8 } }