We’re building automation on top of the Cetec API (preshared-token) to drive our PCBA quote → order → purchasing workflow programmatically, and we’ve mapped most of the lifecycle to existing endpoints successfully. We’ve hit a few gaps in the published API and want to confirm whether additional capabilities exist that we’re not seeing, or whether they could be added.
Specifically, on the purchasing side we can create a PQuote header (PUT /api/pquote) and convert a PQuote to a PO (PATCH /api/pquote/{id} with place_po), but we can’t find a way to:
-
Add line items to a PQuote via API.
PUT /api/pquoteappears to accept header fields only (vendor, location, ship-via, comments) with no line array. -
Create PO lines via API. There’s no
POST /api/po, and/goapis/api/v1/purchaseorder/update_lineonly edits existing lines rather than creating them. -
Generate PQuotes/POs from a Buy Report. The
buy_reportendpoints appear to be read-only, so we can read demand but can’t trigger PO generation from it.
Our questions:
-
Are there any endpoints (documented or not) that allow creating/adding PQuote lines or PO lines programmatically?
-
Is there an API way to generate purchase orders from a Buy Report (or from order/BOM demand / MRP), similar to what’s done in the UI?
-
If these don’t exist today, are they on your roadmap, or is this something you could add via custom development? If so, we’d appreciate a rough scope and cost estimate.
For context, our intended flow is demand-driven: create the sales order, load the component BOM onto the order line (PATCH /goapis/api/v1/ordline/{id}/bom), then let purchasing flow from the resulting demand — ideally without manual line entry in the UI.