Skip to content

Integration Guidelines

Provider Integration

Adding a New Provider

  1. Implement Provider Interface
  2. Add Configuration
  3. Test Integration
  4. Deploy Shim

Testing Requirements

  • Unit Tests
  • Integration Tests
  • Load Tests
  • Security Tests

Example Implementation

from abc import ABC, abstractmethod

class DeliveryProvider(ABC):
    @abstractmethod
    def get_quote(self, order: Order) -> Quote:
        pass

    @abstractmethod
    def create_order(self, order: Order) -> str:
        pass

    @abstractmethod
    def track_order(self, order_id: str) -> OrderStatus:
        pass