Skip to content
Download OpenAPI description
Overview
License
All Rights Reserved
Languages
Servers
Mock server
https://developer.m2x.app/_mock/apis/publicapi/openapi/
https://developer.m2x.app/apis/v0/
NZ Production server (uses live data)
https://m2x.app/apis/v0/
US Production server (uses live data)
https://us.m2x.app/apis/v0/
AUS Production server (uses live data)
https://au.m2x.app/apis/v0/
Sandbox server
https://staging.m2x.app/apis/v0/
Operations

Billing Groups

Invoiceable unit used by the system

Operations
Operations

Carrier Bookings

Corporate bookings received by carriers

Operations

Carrier Large Contracts

Carrier large contracts

Operations
Operations

Corporate Planning

Corporate Planning supplies and demands

Operations

Customer Bookings

Customer bookings on carriers

Operations

Customers

Customers used for invoices

Operations
Operations
Operations

Fulfilment Requests

Fulfilment request on carriers

OperationsWebhooks

General Consignments

General consignments

Operations

ISO containers

ISO containers information

Operations
OperationsWebhooks
Operations
OperationsWebhooks

Offers

Corporate monetary offers to carriers

OperationsWebhooks

Products

Products used by the system

Operations
Operations

Subcontractors

Subcontractors information

Operations

Tractor Unit

Tractor units information

Operations
Operations
Operations
Operations

Request

webhook type: SHIFT_PUBLICATION

Bodyapplication/jsonrequired
shiftIdstringrequired
tasksArray of MovingTaskProperties (object) or CustomerTaskProperties (object) or ServiceTaskProperties (object)(Task)required
One of:
tasks[].​distanceAndDurationobject

Task execution details

tasks[].​locationobject(Task Location)
tasks[].​eventualLocationnull or Location (object)
Any of:
null
tasks[].​idstring
tasks[].​taskIdstring
tasks[].​vehicleIdstring
tasks[].​vehicleExternalIdstring
tasks[].​vehiclePropertiesobject
tasks[].​deletedboolean
Default false
tasks[].​completeboolean

Indicate wether or not the task has been completed

Default false
tasks[].​propertiesobject or null

Collection of bespoke properties

Default null
tasks[].​shiftMetadataobject(ShiftMetadata)
tasks[].​assetsobject(ExecutionAssets)
tasks[].​typestring
Enum"START""DELIVERY""PICKUP""END"
application/json
{ "shiftId": "string", "tasks": [ {} ] }

Responses

Webhook received successfully

Service day publication webhookWebhook

Request

webhook type: SERVICE_DAY_PUBLICATION

Bodyapplication/jsonrequiredArray [
shiftIdstringrequired
tasksArray of MovingTaskProperties (object) or CustomerTaskProperties (object) or ServiceTaskProperties (object)(Task)required
One of:
tasks[].​distanceAndDurationobject

Task execution details

tasks[].​locationobject(Task Location)
tasks[].​eventualLocationnull or Location (object)
Any of:
null
tasks[].​idstring
tasks[].​taskIdstring
tasks[].​vehicleIdstring
tasks[].​vehicleExternalIdstring
tasks[].​vehiclePropertiesobject
tasks[].​deletedboolean
Default false
tasks[].​completeboolean

Indicate wether or not the task has been completed

Default false
tasks[].​propertiesobject or null

Collection of bespoke properties

Default null
tasks[].​shiftMetadataobject(ShiftMetadata)
tasks[].​assetsobject(ExecutionAssets)
tasks[].​typestring
Enum"START""DELIVERY""PICKUP""END"
]
application/json
[ { "shiftId": "string", "tasks": [] } ]

Responses

Webhook received successfully

Vehicle Execution Statements

Unit of execution for trucks

OperationsWebhooks
Webhooks