Add complete Letzshop marketplace integration with: - GraphQL client for order import and fulfillment operations - Encrypted credential storage per vendor (Fernet encryption) - Admin and vendor API endpoints for credentials management - Order import, confirmation, rejection, and tracking - Fulfillment queue and sync logging - Comprehensive documentation and test coverage New files: - app/services/letzshop/ - GraphQL client and services - app/utils/encryption.py - Fernet encryption utility - models/database/letzshop.py - Database models - models/schema/letzshop.py - Pydantic schemas - app/api/v1/admin/letzshop.py - Admin API endpoints - app/api/v1/vendor/letzshop.py - Vendor API endpoints - docs/guides/letzshop-order-integration.md - Documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Vendor API Integration Tests
Documentation
For comprehensive vendor API testing documentation, please see:
Vendor API Testing Guide in MkDocs
Quick Start
# Run all vendor tests
pytest tests/integration/api/v1/vendor/ -v
# Run with coverage
pytest tests/integration/api/v1/vendor/ \
--cov=app/api/v1/vendor \
--cov-report=html
Test Files
test_authentication.py- Authentication tests (30+ tests)test_dashboard.py- Dashboard stats tests (12 tests)
Fixtures
Key fixtures for vendor testing:
vendor_user_headers- Authentication headers for vendor APItest_vendor_with_vendor_user- Vendor with VendorUser association
See Also
- Vendor API Testing Guide - Full documentation
- Test Structure - Overall test organization