curl -X GET "https://api.usegately.com/api/v1/shop/orders" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-User-ID: user_123"
{
"success": true,
"orders": [
{
"id": "order_123",
"status": "completed",
"total": 99.00,
"currency": "usd",
"items": [
{
"product_id": "prod_456",
"quantity": 1,
"price": 99.00
}
],
"created_at": "2024-01-15T10:30:00Z"
}
]
}
Get user order history
curl -X GET "https://api.usegately.com/api/v1/shop/orders" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-User-ID: user_123"
{
"success": true,
"orders": [
{
"id": "order_123",
"status": "completed",
"total": 99.00,
"currency": "usd",
"items": [
{
"product_id": "prod_456",
"quantity": 1,
"price": 99.00
}
],
"created_at": "2024-01-15T10:30:00Z"
}
]
}
curl -X GET "https://api.usegately.com/api/v1/shop/orders" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-User-ID: user_123"
{
"success": true,
"orders": [
{
"id": "order_123",
"status": "completed",
"total": 99.00,
"currency": "usd",
"items": [
{
"product_id": "prod_456",
"quantity": 1,
"price": 99.00
}
],
"created_at": "2024-01-15T10:30:00Z"
}
]
}
Was this page helpful?