{
    "name": "Shopify Connector REST API",
    "endpoints": {
        "GET  \/collections": "List all collections (categories)",
        "GET  \/products": "List all products",
        "GET  \/products\/{id}": "Get product by ID",
        "POST \/products": "Create a product",
        "PUT  \/products\/{id}": "Update a product",
        "DELETE \/products\/{id}": "Delete a product",
        "GET  \/products\/{id}\/variants": "List product variants",
        "PUT  \/variants\/{id}": "Update a variant",
        "GET  \/locations": "List locations",
        "GET  \/orders": "List orders created in the last 5 days, all statuses (optional &days=N)",
        "POST \/inventory": "Set inventory level",
        "GET  \/import\/products?token=XXX": "Import products from configured source",
        "GET  \/import\/offers?token=XXX": "Import offers from configured source",
        "GET  \/optimize\/images?token=XXX": "Backfill optimized images over existing catalog (optional &collection_id=N, &limit=N)",
        "POST \/fulfillment?token=XXX": "Push order state to Shopify (shipped\/complete\/open) — JSON body {status, order_id, data}"
    }
}