Get Company Carriers, Accounts and Services
machship_get_company_carriersFetch all carriers, carrier accounts, and freight services available for a given company to enable consignment creation and quoting.
Instructions
Returns all available carriers, carrier accounts, and freight services for a company. Call this before creating consignments or quotes to discover which services and accounts are available.
Args:
companyId (number): Company ID
response_format ('json' | 'markdown'): Output format (default: 'json')
Returns: Array of carrier objects with nested accounts and services, each containing: { "carrierId": number, "carrierName": string, "accounts": [ { "accountId": number, "accountName": string, "services": [{ "serviceId": number, "serviceName": string }] } ] }
Examples:
Use when: "What carriers are available for company 123?"
Use when: You need a serviceId to pass to createConsignment
Don't use when: You just need a company list (use machship_get_companies instead)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | Yes | Company ID | |
| response_format | No | Output format: 'json' (default) or 'markdown' | json |