M2X APIs
- General freight consignment leg details webhook
M2X APIS (1.0.0)
Optional reference label for the consignment group
Internal M2X consignment id
Optional reference label for the consignment
Nature of work, e.g. G = general, WH = warehouse, C = container
Any additional human readable detail to be supplied with consignment
Specific information about the content carted
Internal M2X product code id
External product code id
Human readable product code name
Additional detail about the product
Primary quantity (meaning is dependent on product code)
Number of pallets or bin (omit or null if not available)
lift (omit or null if not available)
Cube m³ (omit or null if not available)
Name of person signing (accepting responsibility)
User that carried out this operation, e.g. Driver
- Mock serverhttps://developer.m2x.app/_mock/apis/publicapi/openapi/General Consignment Details
- https://developer.m2x.app/apis/v0/General Consignment Details
- NZ Production server (uses live data)https://m2x.app/apis/v0/General Consignment Details
- US Production server (uses live data)https://us.m2x.app/apis/v0/General Consignment Details
- AUS Production server (uses live data)https://au.m2x.app/apis/v0/General Consignment Details
- Sandbox serverhttps://staging.m2x.app/apis/v0/General Consignment Details
{ "consignmentGroupId": "yMnAFBBcNA4VQ8NjaJYz", "groupReference": "GRP0091892", "consignmentId": "TGX854-6OU9Ns9xm9E4JxP1YJYs-1670743772224", "consignmentIntegrationId": "TIMB/000001/IN", "consignmentReference": "C002901092", "customerId": "Yc7cXUulBhMM58iuOQce", "customerExternalId": "FTW", "customerIntegrationId": "C99", "customerName": "Fruit World", "status": "Booked", "properties": { "serviceCode": "WH", "dangerousGoods": true, "noCharge": false, "loadShare": false }, "transportNote": "Call Bob to confirm", "content": { "payload": [ … ] }, "senderReference": "S49029", "fromLocation": { "addressText": "string", "latitude": 0, "longitude": 0, "locationName": "string", "locationId": "string", "externalId": "string", "timezone": "Pacific/Auckland", "properties": null }, "fromDateAndTimeConstraint": { "date": "2019-08-24", "timezone": "Pacific/Auckland", "timeConstraint": {} }, "fromRegion": "BOP", "receiverReference": "R04746", "toLocation": { "addressText": "string", "latitude": 0, "longitude": 0, "locationName": "string", "locationId": "string", "externalId": "string", "timezone": "Pacific/Auckland", "properties": null }, "toDateAndTimeConstraint": { "date": "2019-08-24", "timezone": "Pacific/Auckland", "timeConstraint": {} }, "toRegion": "AKL", "pod": { "delivery": { … } }, "metadata": {}, "deleted": true, "pickupTimestamp": "2019-08-24T14:15:22Z", "deliveryTimestamp": "2019-08-24T14:15:22Z", "expense": 0, "expenseFaf": 0, "revenue": 0, "revenueFaf": 0, "created": "2019-08-24T14:15:22Z", "legs": [ { … } ] }
Optional reference label for the consignment group
Internal M2X consignment id
Optional reference label for the consignment
Nature of work, e.g. G = general, WH = warehouse, C = container
Any additional human readable detail to be supplied with consignment
Specific information about the content carted
Internal M2X product code id
External product code id
Human readable product code name
Additional detail about the product
Primary quantity (meaning is dependent on product code)
Number of pallets or bin (omit or null if not available)
lift (omit or null if not available)
Cube m³ (omit or null if not available)
Name of person signing (accepting responsibility)
User that carried out this operation, e.g. Driver
- Mock serverhttps://developer.m2x.app/_mock/apis/publicapi/openapi/General Consignment Leg Details
- https://developer.m2x.app/apis/v0/General Consignment Leg Details
- NZ Production server (uses live data)https://m2x.app/apis/v0/General Consignment Leg Details
- US Production server (uses live data)https://us.m2x.app/apis/v0/General Consignment Leg Details
- AUS Production server (uses live data)https://au.m2x.app/apis/v0/General Consignment Leg Details
- Sandbox serverhttps://staging.m2x.app/apis/v0/General Consignment Leg Details
{ "consignmentGroupId": "yMnAFBBcNA4VQ8NjaJYz", "groupReference": "GRP0091892", "consignmentId": "TGX854-6OU9Ns9xm9E4JxP1YJYs-1670743772224", "consignmentIntegrationId": "TIMB/000001/IN", "consignmentReference": "C002901092", "customerId": "Yc7cXUulBhMM58iuOQce", "customerExternalId": "FTW", "customerIntegrationId": "C99", "customerName": "Fruit World", "status": "Booked", "properties": { "serviceCode": "WH", "dangerousGoods": true, "noCharge": false, "loadShare": false }, "transportNote": "Call Bob to confirm", "content": { "payload": [ … ] }, "senderReference": "S49029", "fromLocation": { "addressText": "string", "latitude": 0, "longitude": 0, "locationName": "string", "locationId": "string", "externalId": "string", "timezone": "Pacific/Auckland", "properties": null }, "fromDateAndTimeConstraint": { "date": "2019-08-24", "timezone": "Pacific/Auckland", "timeConstraint": {} }, "fromRegion": "BOP", "receiverReference": "R04746", "toLocation": { "addressText": "string", "latitude": 0, "longitude": 0, "locationName": "string", "locationId": "string", "externalId": "string", "timezone": "Pacific/Auckland", "properties": null }, "toDateAndTimeConstraint": { "date": "2019-08-24", "timezone": "Pacific/Auckland", "timeConstraint": {} }, "toRegion": "AKL", "pod": { "delivery": { … } }, "metadata": {}, "deleted": true, "pickupTimestamp": "2019-08-24T14:15:22Z", "deliveryTimestamp": "2019-08-24T14:15:22Z", "expense": 0, "expenseFaf": 0, "revenue": 0, "revenueFaf": 0, "created": "2019-08-24T14:15:22Z", "legs": [ { … } ] }