🔹 PRIMERA ETAPA — JUMPSELLER (tú consumes)

💡 Autenticación básica requerida (api@radar.cl:12345)

🧭 1️⃣ Sincronizar categorías
curl.exe -u api@radar.cl:12345 "http://127.0.0.1:8000/api/jumpseller/categories/sync"

🧭 2️⃣ Sincronizar productos
curl.exe -u api@radar.cl:12345 "http://127.0.0.1:8000/api/jumpseller/products/sync"

🧭 3️⃣ Sincronizar pedidos
curl.exe -u api@radar.cl:12345 "http://127.0.0.1:8000/api/jumpseller/orders/sync"


 Después de correr esos tres, tus tablas categories, products, orders quedarán llenas y listas.



🟦 🔹 SEGUNDA ETAPA — GOPOINTS (ellos te consumen)

💡 No requiere autenticación, responde con formato GoPoints JSON.

🧩 1️⃣ Listar categorías   (CategoriesController)
curl.exe -X GET "http://127.0.0.1:8000/api/gopoints/categories/GoPoints"

🧩 2️⃣ Listar productos  (CatalogProductsController)
curl.exe -X GET "http://127.0.0.1:8000/api/gopoints/products/GoPoints"

🧩 3️⃣ Ver detalle de un producto  (QueryProductController)

(reemplaza 64122 por cualquier SKU válido de tu base)

curl.exe -X GET "http://127.0.0.1:8000/api/gopoints/product/GoPoints/64122"

🧩 4️⃣ Calcular envío  (ShippingController)
"C:\Program Files\Git\mingw64\bin\curl.exe" -X POST "http://127.0.0.1:8000/api/gopoints/shipping" -H "Content-Type: application/json" -d "{\"Campaign\":\"GoPoints\",\"PostalCode\":\"8320000\",\"Products\":[{\"Sku\":\"64122\",\"Quantity\":1}]}"

🧩 5️⃣ Consultar cuotas (InstallmentsController)
"C:\Program Files\Git\mingw64\bin\curl.exe" -X GET "http://127.0.0.1:8000/api/gopoints/installments/GoPoints/69990"

🧩 6️⃣ Crear pedido  (OrdersController)
"C:\Program Files\Git\mingw64\bin\curl.exe" -X POST "http://127.0.0.1:8000/api/gopoints/orders" -H "Content-Type: application/json" -d "{\"Campaign\":\"GoPoints\",\"Customer\":{\"Name\":\"Juan Perez\",\"Email\":\"juan@example.com\"},\"Items\":[{\"Sku\":\"64122\",\"Quantity\":1,\"Price\":69990}],\"Total\":69990}"

🧩 7️⃣ Confirmar pedido  (Orders Confirm)

"C:\Program Files\Git\mingw64\bin\curl.exe" -X POST "http://127.0.0.1:8000/api/gopoints/orders/confirm" -H "Content-Type: application/json" -d "{\"Campaign\":\"GoPoints\",\"ProviderOrderId\":\"PON_AQUI_TU_ID\",\"Confirmed\":true}"

🧩 8️⃣ Consultar estado del pedido  (StatusController)



"C:\Program Files\Git\mingw64\bin\curl.exe" -X GET "http://127.0.0.1:8000/api/gopoints/status/GoPoints/b81db97f-e8bc-40ad-a76b-416ba4a22562"
