Developer API (Phase 3)

Integrate live pistachio pricing and harvest data directly into your ERP system.

GET /api/v1/pricing

Returns real-time FOB pricing for all active pistachio grades.

curl -X GET "https://api.californiapremiumpistachios.com/v1/pricing" \
  -H "Authorization: Bearer YOUR_API_KEY"
        

POST /api/v1/orders

Programmatically submit a purchase order.

curl -X POST "https://api.californiapremiumpistachios.com/v1/orders" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"product_id": "inshell", "quantity_lbs": 20000, "destination": "Jebel Ali"}'