creative-x-ferrero/utils
DJP 7b506ba449 Fix: Update preflight payload to match API requirements
The CreativeX API expects specific field names and structure:
- brand_name (not brand)
- market_name (not market)
- creatives array containing asset details

Changes:
- Updated preflight metadata structure in upload.py
- Updated create_preflight validation in api_client.py
- Updated state_manager to use correct field names
- Payload now includes creatives array with name, asset_url, channel

This fixes the 'brand_name, market_name, creatives are missing' error.
2026-01-09 14:45:26 -05:00
..
__init__.py Initial commit: CreativeX API integration for Ferrero assets 2026-01-09 14:33:00 -05:00
file_handler.py Initial commit: CreativeX API integration for Ferrero assets 2026-01-09 14:33:00 -05:00
logger.py Initial commit: CreativeX API integration for Ferrero assets 2026-01-09 14:33:00 -05:00
state_manager.py Fix: Update preflight payload to match API requirements 2026-01-09 14:45:26 -05:00