sync_data
Pull latest creator-program data from CSV files or SideShift API, then upsert into the local store. Limit ingestion with an optional 'since' date.
Instructions
Pull latest data via the active ingestion adapter and upsert into the local store.
method='csv': source is a directory containing creators.csv / campaigns.csv /
content_items.csv / performance_metrics.csv (see sample_data/).
method='api': pulls from the real SideShift API. Requires the SIDESHIFT_API_KEY
env var (Settings -> Integrations in the SideShift dashboard).
since (YYYY-MM-DD) limits ingestion to records on/after that date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| method | No | csv | |
| source | No | sample_data |