Borman Metal
Ghid Borman MetalGhid Tehnic
PARTNER API v2.0 • DROPSHIPPING & AGENȚI AI
Paritate 100% Preț Website

API Debitare & Îndoire Tablă pentru Dropshipping și Agenți AI

Vinde piese metalice pe propriul tău site (ex: suporturi L-shape, console, sau piese STEP/DXF încărcate de clienți) cu exact același preț de fabrică Borman Metal + transport România/UE + adaosul tău comercial automat. Pregătit nativ și pentru ChatGPT, Gemini, Claude și agenți AI pentru cotație și comandă instant.

1. Cheile Tale API de Partener

Generează cheia ta personală pentru magazine online, dropshipping sau agenți AI. Include automat discount-ul contului tău și limită extinsă (120 req/min).

Se verifică sesiunea contului...

2. Simulator Live: Preț Exact + Transport + Profit Dropshipping

Apelează direct endpoint-ul real /api/v1/quote/instant cu exact același algoritm ca pe bormanmetal.ro/project-editor. Testează un preset sau încarcă un fișier .STEP / .DXF.

3. Prompt-uri AI Gata de Copiat pentru Integrare Instantă

Folosești Cursor, Antigravity, Bolt, Lovable, ChatGPT sau Claude? Copiază și lipește prompt-ul de mai jos — AI-ul tău va integra automat cotația exactă, profitul de dropshipping, comenzile white-label și tracking-ul AWB.

You are a senior e-commerce & API engineer. Integrate the Borman Metal Sheet Metal Dropshipping API into my Next.js / React / Node.js Storefront so I can sell custom or catalog sheet metal products (e.g., L-shape holders, wall brackets, plates, or customer-uploaded .STEP / .DXF parts) with live exact manufacturing + shipping prices and automatic white-label fulfillment. ## 1. Environment & Security - Store the Partner API Key ONLY on the server in `BORMAN_METAL_API_KEY` (never expose it in client-side browser code). - Base URL: `https://bormanmetal.ro` - Auth Header: `X-API-Key: process.env.BORMAN_METAL_API_KEY` (Key reference: `bm_live_YOUR_API_KEY`) - Full OpenAPI 3.1 spec: `https://bormanmetal.ro/openapi.json` ## 2. Live Price + Shipping + Profit Calculation (Backend Proxy Route) Create a server endpoint `POST /api/metal-quote` that accepts product dimensions/CAD file, material (`OTEL_S235`, `INOX_304`, `ALU_5754`), thickness_mm, quantity, surface_finish (`RAW`, `DEBURRED`, `POWDER_COATED`), and buyer's `shipping_country` (ISO-2 e.g. `RO`, `DE`, `AT`, `FR`). Call `POST https://bormanmetal.ro/api/v1/quote/instant` with: - `markup_percent: 35` (my store's profit margin on top of Borman Metal's wholesale price) - `shipping_country`: buyer's destination country - Either a `file_url` / `file_base64` (.STEP or .DXF) OR parametric fields (`width_mm`, `height_mm`, `bends`, `hole_count`). From the JSON response: - Show the buyer ONLY `pricing.dropshipping.customer_retail_gross_eur` (or `customer_retail_gross_ron`) and `logistics.lead_time_business_days`. - Store `quote_token` (valid 24h), `pricing.dropshipping.your_cost_gross_eur` (what I pay Borman Metal), and `pricing.dropshipping.your_profit_net_eur` (my profit) securely in the cart/order session — NEVER reveal Borman Metal's wholesale cost to the end customer. - If `dfm_analysis.status === "manufacturing_error"`, display `dfm_analysis.errors[0].fix_suggestion`. ## 3. Automatic White-Label Fulfillment After Customer Pays In my payment webhook (after my store collects the retail payment from the buyer): Call `POST https://bormanmetal.ro/api/v1/orders` with: ```json { "quote_token": "<saved_quote_token>", "external_order_ref": "<my_store_order_id>", "white_label": true, "is_dropship": true, "payment_method": "stripe", "shipping_address": { "name": "<buyer_full_name>", "phone": "<buyer_phone>", "street": "<buyer_street>", "city": "<buyer_city>", "zip": "<buyer_zip>", "country": "<buyer_iso2_country>" } } ``` Save `order_id`, `payment_url` (so I can pay Borman Metal's wholesale cost), and `tracking_endpoint` on my order record. Note: `white_label: true` ensures Borman Metal ships directly to my buyer with NO Borman Metal invoice or prices inside the parcel. ## 4. Automatic Courier Tracking Sync Add a scheduled job / webhook polling `GET https://bormanmetal.ro/api/v1/orders/{order_id}` with `X-API-Key`. When `status === "Shipped"` and `tracking.tracking_code` is populated, update my store's order status to Shipped and email `tracking.carrier` + `tracking.tracking_code` + `tracking.tracking_url` to my buyer. Implement clean TypeScript types, error handling, loading states, and unit tests for the price calculation and order placement flow.

4. Rezumat Endpoint-uri REST

GET / POST
/api/v1/quote/instant
Preț 100% identic cu website-ul + transport + TVA UE + calcul profit dropshipping + rezumat LLM + quote_token valabil 24h. Acceptă .STEP/.DXF, file_url, file_base64 sau dimensiuni.
POST / GET
/api/v1/orders
Necesită Cheie API. Plasează comenzi dropshipping white-label sau producție directă cu quote_token sau items[]. Returnează link de plată Stripe sau date OP.
GET
/api/v1/orders/{orderId}
Necesită Cheie API. Verifică live statusul de producție (În Producție -> Expediată -> Finalizată), codul AWB de curier și statusul facturii fiscale Keez.
GET
/api/v1/capabilities
Catalogul live al fabricii: materiale în stoc, grosimi, finisaje, operații secundare, limite laser/abkant și zonele de transport România/UE.

Compară direct cu Configuratorul CAD 3D

Încarcă aceeași piesă STEP sau DXF în configuratorul web — API-ul calculează exact același preț, la centimă.

Deschide Editorul CAD