Skip to content
Launch GitLab Knowledge Graph

Add order history and tracking API

Implement endpoints for order history and tracking.

Endpoints:

  • GET /api/orders (list user orders)
  • GET /api/orders/{id} (order details)
  • GET /api/orders/{id}/history (order status history)
  • GET /api/orders/{id}/tracking (shipping tracking)

Features:

  • Pagination for order list
  • Filter by status, date range
  • Sort by date, amount
  • Export order history (CSV/PDF)
  • Integration with shipping carriers for tracking
  • Real-time tracking updates

Carrier Integrations:

  • FedEx API
  • UPS API
  • USPS API