equipment

Ingest Confirmation Email Route

A supplier's order-confirmation email, forwarded and pasted in -- parses order number/items/price/shipping/tracking and matches it to the open part_orders row it belongs to. See docs/runbooks/ RUNBOOK_PART_SOURCING.md for the forwarding step.

⛔UPDATED 2026-09-30 (equipment.parts_spend): the Gmail poller calls the recorder automatically for every message it reads off tara@'s mailbox (customer_service.inbound._process_email -> supply_order_email.dispatch_mailbox_email) -- this route stays for a person forcing a re-read of one email by hand (or a supplier this build's should_attempt_parts_parse heuristic missed).

⛔CORRECTED 2026-10-20 (B9, docs/01_decisions/CODE_CLEANUP_20261020_B9_ONE_SUPPLIER_EMAIL_WRITER.md): this route used to call only part_sourcing.ingest_order_confirmation, so a pasted email updated part_orders and NEVER wrote supplier_order_confirmations or the operating_costs line the poller writes (the docstring said so, as a feature). It now calls parts_spend.record_supplier_order_email( force=True) -- the one writer both entry points share -- and answers in the same shape as before.

post/api/equipment/parts/orders/ingest-confirmation-email

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

IngestConfirmationEmailRequest required
raw_text, string required
sender, string nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 251 revisions of this API.