curl --request GET \
--url https://api.switchyard.run/scanner/orders \
--header 'Authorization: Bearer <token>'{
"orders": [
{
"id": "order_01ABC123",
"display_id": 1234,
"status": "<string>",
"fulfillment_status": "<string>",
"payment_status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"total": 123,
"shipping_address": {
"first_name": "<string>",
"last_name": "<string>",
"address_1": "<string>",
"city": "<string>",
"postal_code": "<string>"
}
}
],
"count": 123,
"limit": 123,
"offset": 123
}Get a list of orders for the current picker/driver. Orders can be filtered by status and paginated.
curl --request GET \
--url https://api.switchyard.run/scanner/orders \
--header 'Authorization: Bearer <token>'{
"orders": [
{
"id": "order_01ABC123",
"display_id": 1234,
"status": "<string>",
"fulfillment_status": "<string>",
"payment_status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"total": 123,
"shipping_address": {
"first_name": "<string>",
"last_name": "<string>",
"address_1": "<string>",
"city": "<string>",
"postal_code": "<string>"
}
}
],
"count": 123,
"limit": 123,
"offset": 123
}Supabase JWT token
Filter by order status
pending, processing, picking, staged, delivering, delivered Maximum number of orders to return
x <= 100Number of orders to skip for pagination
List of orders
Show child attributes
"order_01ABC123"
1234
Total number of orders matching filter