Create Quote
machship_create_quoteCreates a freight quote and returns available carrier rates for a shipment, so you can compare prices and transit times before creating a consignment.
Instructions
Creates a freight quote in Machship — returns available carrier rates for a shipment. Use this to compare carrier prices and transit times before creating a consignment.
Args:
quote (object): Quote request including:
companyId (number): Company to quote under
fromAddress or fromLocationId: Pickup address or location ID
toAddress: Delivery address (suburb, postcode, state, country)
items: Array of items with weight (kg), length/width/height (cm)
carrierId / serviceId (optional): Filter to a specific carrier/service
Returns: Array of available rate options, each with: { "carrierId", "serviceName", "totalCost", "transitDays", "accountId" }
Examples:
Use when: "Get freight quotes from Sydney to Melbourne for a 5kg parcel"
Don't use when: You already have a carrier in mind — use machship_create_consignment directly
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | Yes | Quote request body (companyId, fromAddress/fromLocationId, toAddress, items) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |