Create an FTL
Company token. Creates one FTL. Put it on a trip in the Mile web app, or add it to an existing trip with add stops and its shipment_id. You can also create an FTL inside a stop when you add stops. Every problem is returned at once in msgs. See create FTLs.
Authentication
Send Authorization: Bearer <token>. Company endpoints take the company API token from POST /api/v1/partners/login. /transporters endpoints take the transporter token from POST /api/v1/partners/transporters/login. You can also send the token as an access_token query parameter or body field.
Request
Pickup day, Y-m-d.
Delivery day, Y-m-d. Same day as created_on or later.
Name from options. Or send shipping_line_id.
Name from options. Or send payment_term_id.
A customer (shipper) or consignee (receiver). Send id for an existing one, or name and address (plus phone for a customer) for a new one. See customers and consignees.
A customer (shipper) or consignee (receiver). Send id for an existing one, or name and address (plus phone for a customer) for a new one. See customers and consignees.
true to pick the container up at destination_port instead of the customer address. Requires destination_port.
Port name, code or UN/LOCODE from ports. Or send destination_port_id.
Optional. Name, code or UN/LOCODE. Or origination_port_id.
Optional transit ports, as names, codes, UN/LOCODEs or ids.
Required only when options returns vendor_required: true. Or vendor_id.
Optional. Or vendor_category_id.
Optional. Or shipping_method_id.
Optional country name or short name. Or country_id.

