freightpop_create_shipment
Books a real shipment with a carrier through your FreightPOP account. Two ways to call it:
- With a quote: pass the quote ID and rate ID from a prior
get_ratescall. This is the normal path. - Without a quote: pass a carrier ID, line items, and a payment term to ship directly.
- Type: Write
- Example prompt: “Book the cheapest quote from that list.”
- Example prompt: “Ship this with XPO, prepaid, and email the notification to ops@example.com.”
What happens on success
- A shipment record is created in FreightPOP.
- The selected carrier receives the booking.
- Your account is charged per your normal FreightPOP billing terms.
- Tracking becomes available via
get_trackingonce the carrier posts the first event. - If you asked for one, a ZPL shipping label is returned in the response.
freightpop_cancel_shipment
Cancels an existing shipment by its FreightPOP shipment ID.
- Type: Write (destructive)
- Example prompt: “Cancel shipment 1234567890.”
.webp?fit=max&auto=format&n=0fYGJvv1vhU_H_hD&q=85&s=cc6901d82ea9d5e5b86636dd0911349b)
