When to use
Use bulk export when:- You already have local catalog infrastructure (search index, database, product schema)
- You want to blend Snappy products with other sources
- Your rendering layer cannot tolerate per-request API latency
The three-phase lifecycle
Every export goes through Queue → Poll → Download:- Queue - POST to an export endpoint to start a job. You get back an
exportId. - Poll - GET the job status until
statusiscompleted(orfailed). - Download - fetch the file(s) from the
downloadUrlsmap in the completed job response.
Two export paths
Filtered products export
Export products from the full catalog with optional filters.catalog and format are required; locations defaults to ["US"]. See Create products export for all filters.
Collection-scoped export
Export all products in a specific collection.collectionId, catalog, and locations are required. See Create collections export.
Each create call starts a new export job - repeated calls with the same body are not deduplicated. Store the
exportId of the job in progress and wait for it to finish before starting another.Recommended usage
- Run each export at most once a day. Use webhooks for changes between exports - see Keeping your local copy fresh.
- Keep each job to 50 locations or fewer. To cover more countries, split them across multiple jobs and run them one after another.
Poll and download
Both export types share the same poll endpoint:pending → processing → completed or failed. When completed, the response includes a downloadUrls map of signed URLs (keyed by file identifier or location code). When failed, it includes an errorMessage. See Export API for the shape of each line in the file.
Keeping your local copy fresh
After the initial bulk export, use thestock-availability-updates webhook to receive incremental updates instead of re-exporting the full catalog on a timer.
Common pitfalls
Related
- Export API - endpoint reference and NDJSON file format
- Real-Time Catalog Access - simpler alternative without local infrastructure
- Swag Products Access - swag-specific catalog access