ASAP → Shopify Sync Server

Trigger product syncs on demand by hitting these URLs. All endpoints stream live progress (Server-Sent Events).

Endpoints

GET /brands — list all approved ASAP brands
/brands?token=YOUR_TOKEN
GET /sync/sku/:sku — sync one SKU
/sync/sku/99911-BBVR?token=YOUR_TOKEN
Optional: &dry=1
GET /sync/brand/:brandId — sync N products from a brand
/sync/brand/389?limit=5&token=YOUR_TOKEN
Required: limit=N (or omit for full brand — careful!)
Optional: &dry=1
GET /sync/all — sync N products per brand across ALL brands
/sync/all?limit=5&token=YOUR_TOKEN
Required: limit=N per brand

Brand IDs (quick reference)

Visit /brands for the live list.

How to use

1. Open the endpoint URL in your browser.
2. Watch the live log stream.
3. Last line is the JSON summary of what was synced.