Miridia
Portal
Logistics

Delivery plans

The delivery plans operations of the Core API.

Base URL: https://api.miridia.io. Read Authentication and Conventions before you call these operations.

MethodPathOperation
GET/api/v1/plans/overviewGet dispatch overview
GET/api/v1/plans/{dispatchId}Get dispatch
DELETE/api/v1/plans/{dispatchId}Delete dispatch
GET/api/v1/plans/{deliveryPlanId}/timelineGet delivery plan timeline
PUT/api/v1/plans/{deliveryPlanId}Update dispatch
DELETE/api/v1/plans/{deliveryPlanId}/shipments/{shipmentId}Remove shipment from dispatch
GET/api/v1/plans/in-shipment/{shipmentId}Get dispatch by shipment id
POST/api/v1/plans/{deliveryPlanId}/shipmentsAdd shipment
POST/api/v1/plans/{dispatchId}/autobatchAuto batch shipments
GET/api/v1/plans/codeGet dispatch code
GET/api/v1/plansGet trips
POST/api/v1/plansSave dispatch
GET/api/v1/plans/unassigned-shipmentsGet unassigned shipments

Get dispatch overview

GET/api/v1/plans/overview

Access. Send a bearer token or an API key. The caller needs the Shipments view permission.

Response

200. Returns a SingleResult envelope. The data field is DispatchOverviewResponse.

Request
curl -X GET "https://api.miridia.io/api/v1/plans/overview" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID"
Response
{
  "message": "string",
  "messages": [
    {
      "title": "string",
      "message": "string",
      "level": "Standard",
      "icon": "SyncAlert",
      "code": "string"
    }
  ],
  "data": {
    "total": 0,
    "active": 0,
    "pending": 0,
    "closed": 0,
    "complete": 0
  },
  "statusCode": "OK",
  "canRead": true,
  "canEdit": true,
  "canDelete": true
}

Get dispatch

GET/api/v1/plans/{dispatchId}

Access. Send a bearer token or an API key. The caller needs the Shipments view permission.

Parameters

NameInTypeRequiredDescription
dispatchIdpathstring (uuid)Yes

Response

200. Returns a SingleResult envelope. The data field is DispatchResponse.

Request
curl -X GET "https://api.miridia.io/api/v1/plans/{dispatchId}" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID"

Delete dispatch

DELETE/api/v1/plans/{dispatchId}

Access. Send a bearer token or an API key. The caller needs the Shipments delete permission.

Parameters

NameInTypeRequiredDescription
dispatchIdpathstring (uuid)Yes

Response

200. Returns a SingleResult envelope. The data field is boolean.

Request
curl -X DELETE "https://api.miridia.io/api/v1/plans/{dispatchId}" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID"
Response
{
  "message": "string",
  "messages": [
    {
      "title": "string",
      "message": "string",
      "level": "Standard",
      "icon": "SyncAlert",
      "code": "string"
    }
  ],
  "data": true,
  "statusCode": "OK",
  "canRead": true,
  "canEdit": true,
  "canDelete": true
}

Get delivery plan timeline

GET/api/v1/plans/{deliveryPlanId}/timeline

The milestone timestamps of the plan and of every shipment on it.

Access. Send a bearer token or an API key. The caller needs the Shipments view permission.

Parameters

NameInTypeRequiredDescription
deliveryPlanIdpathstring (uuid)Yes

Response

200. Returns a SingleResult envelope. The data field is DeliveryPlanTimelineResponse.

Request
curl -X GET "https://api.miridia.io/api/v1/plans/{deliveryPlanId}/timeline" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID"
Response
{
  "message": "string",
  "messages": [
    {
      "title": "string",
      "message": "string",
      "level": "Standard",
      "icon": "SyncAlert",
      "code": "string"
    }
  ],
  "data": {
    "planId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "code": "string",
    "status": "Active",
    "planCreated": "2026-09-29T08:00:00Z",
    "scheduledDeparture": "2026-09-29T08:00:00Z",
    "departed": "2026-09-29T08:00:00Z",
    "scheduledCompletion": "2026-09-29T08:00:00Z",
    "completed": "2026-09-29T08:00:00Z",
    "shipments": [
      {}
    ]
  },
  "statusCode": "OK",
  "canRead": true,
  "canEdit": true,
  "canDelete": true
}

Update dispatch

PUT/api/v1/plans/{deliveryPlanId}

Access. Send a bearer token or an API key. The caller needs the Shipments modify permission.

Parameters

NameInTypeRequiredDescription
deliveryPlanIdpathstring (uuid)Yes

Request body

Send JSON with the shape DispatchUpdateRequest.

FieldTypeRequiredDescription
codestringNo
descriptionstringNo
dispatchStatusenum DispatchStatusesNoOne of: Active, Pending, Dispatched, Cancelled, Complete, Draft, InTransit, Unassigned.
shipmentsMultiSelectShipmentDto[]Yes
driversDriverIdAndName[]Yes
vehicleSelectVehicleNo
vehicleIdinteger (int32)No
dateModifiedstring (date-time)No
dateOfDeparturestring (date-time)No
scheduledDateOfDeparturestring (date-time)No
dateOfCompletionstring (date-time)No
completedbooleanNo
dateCreatedstring (date-time)No

Response

200. Returns a SingleResult envelope. The data field is DispatchResponse.

Request
curl -X PUT "https://api.miridia.io/api/v1/plans/{deliveryPlanId}" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "code": "string",
  "description": "string",
  "dispatchStatus": "Active",
  "shipments": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    }
  ],
  "drivers": [
    {
      "id": 0,
      "name": "string"
    }
  ],
  "vehicle": {
    "id": 0
  },
  "vehicleId": 0,
  "dateModified": "2026-09-29T08:00:00Z",
  "dateOfDeparture": "2026-09-29T08:00:00Z",
  "scheduledDateOfDeparture": "2026-09-29T08:00:00Z",
  "dateOfCompletion": "2026-09-29T08:00:00Z",
  "completed": true,
  "dateCreated": "2026-09-29T08:00:00Z"
}'

Remove shipment from dispatch

DELETE/api/v1/plans/{deliveryPlanId}/shipments/{shipmentId}

Access. Send a bearer token or an API key. The caller needs the Shipments modify permission.

Parameters

NameInTypeRequiredDescription
deliveryPlanIdpathstring (uuid)Yes
shipmentIdpathstring (uuid)Yes

Response

200. Returns a SingleResult envelope. The data field is boolean.

Request
curl -X DELETE "https://api.miridia.io/api/v1/plans/{deliveryPlanId}/shipments/{shipmentId}" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID"
Response
{
  "message": "string",
  "messages": [
    {
      "title": "string",
      "message": "string",
      "level": "Standard",
      "icon": "SyncAlert",
      "code": "string"
    }
  ],
  "data": true,
  "statusCode": "OK",
  "canRead": true,
  "canEdit": true,
  "canDelete": true
}

Get dispatch by shipment id

GET/api/v1/plans/in-shipment/{shipmentId}

This endpoint is required for the shipment details page. To retrieve the related dispatch information for that shipment.

Access. Send a bearer token or an API key. The caller needs the Shipments view permission.

Parameters

NameInTypeRequiredDescription
shipmentIdpathstring (uuid)YesThe shipment id.

Response

200. Returns a SingleResult envelope. The data field is DispatchResponse.

Request
curl -X GET "https://api.miridia.io/api/v1/plans/in-shipment/{shipmentId}" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID"

Add shipment

POST/api/v1/plans/{deliveryPlanId}/shipments

Access. Send a bearer token or an API key. The caller needs the Shipments modify permission.

Parameters

NameInTypeRequiredDescription
deliveryPlanIdpathstring (uuid)Yes

Request body

Send JSON with the shape AddShipmentToDispatchDto.

FieldTypeRequiredDescription
shipmentIdstring (uuid)Yes

Response

200. Returns a SingleResult envelope. The data field is boolean.

Request
curl -X POST "https://api.miridia.io/api/v1/plans/{deliveryPlanId}/shipments" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "shipmentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'
Response
{
  "message": "string",
  "messages": [
    {
      "title": "string",
      "message": "string",
      "level": "Standard",
      "icon": "SyncAlert",
      "code": "string"
    }
  ],
  "data": true,
  "statusCode": "OK",
  "canRead": true,
  "canEdit": true,
  "canDelete": true
}

Auto batch shipments

POST/api/v1/plans/{dispatchId}/autobatch

Access. Send a bearer token or an API key. The caller needs the Shipments modify permission.

Parameters

NameInTypeRequiredDescription
dispatchIdpathstring (uuid)Yes

Response

200. Returns a SingleResult envelope. The data field is boolean.

Request
curl -X POST "https://api.miridia.io/api/v1/plans/{dispatchId}/autobatch" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID"
Response
{
  "message": "string",
  "messages": [
    {
      "title": "string",
      "message": "string",
      "level": "Standard",
      "icon": "SyncAlert",
      "code": "string"
    }
  ],
  "data": true,
  "statusCode": "OK",
  "canRead": true,
  "canEdit": true,
  "canDelete": true
}

Get dispatch code

GET/api/v1/plans/code

This endpoint is called since the dispatch code needs to be created before the dispatch itself is created.

Access. Send a bearer token or an API key. The caller needs the Shipments view permission.

Response

200. Returns a SingleResult envelope. The data field is DispatchCodeResponse.

Request
curl -X GET "https://api.miridia.io/api/v1/plans/code" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID"
Response
{
  "message": "string",
  "messages": [
    {
      "title": "string",
      "message": "string",
      "level": "Standard",
      "icon": "SyncAlert",
      "code": "string"
    }
  ],
  "data": {
    "code": "string"
  },
  "statusCode": "OK",
  "canRead": true,
  "canEdit": true,
  "canDelete": true
}

Get trips

GET/api/v1/plans

Access. Send a bearer token or an API key. The caller needs the Shipments view permission.

Parameters

NameInTypeRequiredDescription
pagequeryinteger (int32)NoDefault: 1.
perPagequeryinteger (int32)NoDefault: 50.
fromquerystringNo
toquerystringNo
statusquerystringNo

Response

200. Returns a PagedResult envelope. Each item in data is DispatchResponse.

Request
curl -X GET "https://api.miridia.io/api/v1/plans" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID"
Response
{
  "count": 0,
  "totalCount": 0,
  "page": 0,
  "finalPage": 0,
  "pageSize": 0,
  "hasMore": true,
  "statusCode": "OK",
  "data": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "code": "string",
      "description": "string",
      "dispatchStatus": "Active",
      "dateOfDeparture": "2026-09-29T08:00:00Z",
      "scheduledDateOfDeparture": "2026-09-29T08:00:00Z",
      "dateOfCompletion": "2026-09-29T08:00:00Z",
      "shipments": [
        {}
      ],
      "drivers": [
        {}
      ],
      "vehicle": {},
      "business": {}
    }
  ],
  "messages": [
    {
      "title": "string",
      "message": "string",
      "level": "Standard",
      "icon": "SyncAlert",
      "code": "string"
    }
  ]
}

Save dispatch

POST/api/v1/plans

Access. Send a bearer token or an API key. The caller needs the Shipments modify permission.

Request body

Send JSON with the shape DispatchRequest.

FieldTypeRequiredDescription
shipmentIdsstring (uuid)[]No
dispatchCodestringNo
descriptionstringNo
driverIdsinteger (int32)[]No
vehicleIdinteger (int32)No

Response

200. Returns a SingleResult envelope. The data field is DispatchResponse.

Request
curl -X POST "https://api.miridia.io/api/v1/plans" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "shipmentIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  ],
  "dispatchCode": "string",
  "description": "string",
  "driverIds": [
    0
  ],
  "vehicleId": 0
}'

Get unassigned shipments

GET/api/v1/plans/unassigned-shipments

Shipments not yet attached to any delivery plan/dispatch.

Access. Send a bearer token or an API key. The caller needs the Shipments view permission.

Response

200. Returns a PagedResult envelope. Each item in data is ShipmentResponse.

Request
curl -X GET "https://api.miridia.io/api/v1/plans/unassigned-shipments" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID"

Models

The operations on this page use these object types. Select a type to see its fields.

AddressResponse
FieldTypeDescription
idstring (uuid)
placeIdstring
namestring
websitestring
fullAddressstring
streetstring
suburbstring
citystring
countrystring
postcodestring
unitstring
numberstring
provincestring
latitudenumber (double)
longitudenumber (double)
BusinessResponse
FieldTypeDescription
idstring (uuid)
registeredNamestring
registrationNumberstring
displayNamestring
phoneNumberstring
websitestring
emailstring
requiresOrderIntegrationboolean
requiresOrderFulfillmentboolean
requiresAccountingIntegrationboolean
requiresDispatchBuilderboolean
billingAddressAddressResponse
shippingAddressAddressResponse
currentUserPrimitiveUserResponse
CollectionResponse
FieldTypeDescription
addressAddressResponse
instructionsstring
contactContactResponse
businessNamestring
collectAfterTimestringFormatted in HH not hh (24 hours)
collectBeforeTimestringFormatted in HH not hh (24 hours)
dateOfCollectionstring (date-time)
ContactResponse
FieldTypeDescription
idstring (uuid)
titlestring
descriptionstring
firstNamestring
lastNamestring
emailstring
phoneNumberstring
mobileNumberstring
CurrencyResponse
FieldTypeDescription
iso4217string
utf8Symbolstring
currencyCodeenum CurrencyCodeOne of: Invalid, Eur, Usd, Gbp, Zar, Zmw.
CustomerIntegrationProviderResponse
FieldTypeDescription
providerPrimitiveIntegrationProviderResponse
customerCustomerResponse
CustomerResponse
FieldTypeDescription
idstring (uuid)
isBusinessboolean
titlestring
websitestring
emailstring
businessNamestring
groupIdstring (uuid)The customer group this customer belongs to, if any. Used as a price-list assignment scope.
phoneNumberstringThis would generally represent the phone number for the customer if the customer is a business. Otherwise, the contact details should be part of the contact, and not the customer. Limits: maximum 20 characters.
integrationTypeenum IntegrationProviderTypeOne of: None, Commerce, Accounting, Erp, Crm, Fulfillment, Warehouse, WorkflowManager.
dateCreatedstring (date-time)
billingAddressAddressResponse
shippingAddressAddressResponse
integrationsCustomerIntegrationProviderResponse[]
contactsContactResponse[]
primaryContactContactResponse
parentCustomerResponse
attachmentsMetadataFileAttachment[]
totalSalesinteger (int32)
totalSpentnumber (double)
metadatamap<string, string>
DeliveryPlanShipmentTimelineResponse

The milestone timestamps of one shipment on a delivery plan. Every timestamp can be null, because a step can still be pending.

FieldTypeDescription
shipmentIdstring (uuid)
codestring
statusenum ShipmentStatusOne of: Unknown, Active, PendingCollection, CollectionUnassigned, CollectionAssigned, CollectionRejected, CollectionException, CollectionFailedAttempt, Collected, AtHub, ReturnedToHub, InTransit, AtDestinationHub, DeliveryUnassigned, DeliveryAssigned, DeliveryRejected, DeliveryException, OutForDelivery, DeliveryFailedAttempt, InLocker, Delivered, Cancelled.
orderIdstring (uuid)
orderCodestring
orderKindenum TimelineOrderKindOne of: None, Sales, Purchase.
orderPlacedstring (date-time)
orderCreatedstring (date-time)
shipmentCreatedstring (date-time)
addedToPlanstring (date-time)
departedstring (date-time)
collectedstring (date-time)
deliveredstring (date-time)
DeliveryPlanTimelineResponse

The milestone timestamps of a delivery plan and of every shipment on it.

FieldTypeDescription
planIdstring (uuid)
codestring
statusenum DispatchStatusesOne of: Active, Pending, Dispatched, Cancelled, Complete, Draft, InTransit, Unassigned.
planCreatedstring (date-time)
scheduledDeparturestring (date-time)
departedstring (date-time)
scheduledCompletionstring (date-time)
completedstring (date-time)
shipmentsDeliveryPlanShipmentTimelineResponse[]
DeliveryResponse
FieldTypeDescription
addressAddressResponse
instructionsstring
contactContactResponse
businessNamestring
deliverAfterTimestringFormatted in HH not hh (24 hours)
deliverBeforeTimestringFormatted in HH not hh (24 hours)
dateOfDeliverystring (date-time)
DimensionTypeWithSymbols
FieldTypeDescription
lengthTypeenum LengthTypeOne of: Unknown, Centimeter, Meter, Inch, Foot.
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
volumeTypeenum VolumeTypeOne of: None, Litre, CubicCentimeter, CubicMeter, Gallon, CubicInch, CubicFoot.
lengthSymbolstring
weightSymbolstring
volumeSymbolstring
DispatchCodeResponse
FieldTypeDescription
codestring
DispatchOverviewResponse
FieldTypeDescription
totalinteger (int32)
activeinteger (int32)
pendinginteger (int32)
closedinteger (int32)
completeinteger (int32)
DispatchResponse
FieldTypeDescription
idstring (uuid)
codestring
descriptionstring
dispatchStatusenum DispatchStatusesOne of: Active, Pending, Dispatched, Cancelled, Complete, Draft, InTransit, Unassigned.
dateOfDeparturestring (date-time)
scheduledDateOfDeparturestring (date-time)
dateOfCompletionstring (date-time)
shipmentsShipmentResponse[]
driversDriverResponse[]
vehicleVehicleResponse
businessBusinessResponse
DriverIdAndName
FieldTypeDescription
idinteger (int32)
namestring
DriverResponse
FieldTypeDescription
idstring (uuid)
idNumberstring
licenseNumberstring
licenseTypeIdinteger (int32)
licenseRenewalDatestring (date-time)
licenseIssuedDatestring (date-time)
userDriverUserResponse
DriverUserResponse
FieldTypeDescription
idstring (uuid)
firstNamestring
lastNamestring
emailstring
phoneNumberstring
FulfillmentItemResponse
FieldTypeDescription
weightnumber (double)
widthnumber (double)
lengthnumber (double)
heightnumber (double)
titlestring
quantitynumber (double)
declaredValuenumber (double)
descriptionstring
FulfillmentProviderServiceTypeModel

This model represents the different services which the fulfillment provider provides.

FieldTypeDescription
idinteger (int32)
valuestring
FulfillmentRequirementTypeModel
FieldTypeDescription
idinteger (int32)
valuestring
GeometryFieldsResponse
FieldTypeDescription
weightnumber (double)
widthnumber (double)
lengthnumber (double)
heightnumber (double)
lengthTypeenum LengthTypeOne of: Unknown, Centimeter, Meter, Inch, Foot.
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
weightSymbolstring
lengthSymbolstring
MetadataFileAttachment

Not quite as complete as the normal FileAttachment aggregate.

FieldTypeDescription
idstring (uuid)
typeenum MetadataAttachmentTypeOne of: File, Link.
fileAttachmentIdstring (uuid)Left as Guid.Empty for Link entries.
titlestring
urlstring
contentTypestring
descriptionstring
MultiSelectShipmentDto
FieldTypeDescription
idstring (uuid)
OrderCarrierMetadata
FieldTypeDescription
carrierIdstring (uuid)
earliestCollectionstring (date-time)
collectionRequestedstring (date-time)
collectionAfterRequeststring (date-time)
dateDeliveredstring (date-time)
dateOfReturnRequestedstring (date-time)
timeframestring
requestedCollectionboolean
shipmentLabelGeneratedboolean
requestedReturnboolean
packageCountinteger (int32)
packagesOrderPackageMetadata[]
OrderIntegrationDetailsResponse
FieldTypeDescription
idstring (uuid)
integrationIdstringThe integration id as displayed on the relevant integration
providerPrimitiveIntegrationProviderResponse
OrderItemResponse

Order Item maps onto ProductOrder and contains a property with all of the product information.

FieldTypeDescription
idstring (uuid)
codestring
quantityOrderednumber (double)
unitenum UnitOfMeasureOne of: Each, Kilogram, Gram, Litre, Millilitre, Metre, Centimetre, SquareMetre, CubicMetre, Pair, Pack, Box, Roll, Sheet.
orderShipmentOrderShipmentResponse
productProductResponse
shipmentShipmentResponse
carrierPrimitiveIntegrationProviderResponse
dimensionPresetPrimitiveDimensionPreset
titlestring
descriptionstring
primaryImageUrlstring
geometryGeometryFieldsResponse
billingPriceDetailsResponse
OrderResponse
FieldTypeDescription
dateCreatedstring (date-time)
dateModifiedstring (date-time)
idstring (uuid)
codestring
deliveryItemCountinteger (int32)
orderItemCountnumber (double)Total quantity of items ordered across all line items. Surfaced for list views.
descriptionstring
purchaseOrderNumberstringThe customer's purchase order number, when this order was raised from a received customer PO.
billingPriceDetailsResponse
shippingCostsOrderShippingCostsResponse
fulfillmentStatusenum FulfillmentStatusOne of: Unknown, Unassigned, PendingCollection, PendingDelivery, Fulfilled, Cancelled.
customerIpAddressstring
serviceLevelenum ServiceLevelOne of: Unknown, Standard, Express, SameDay, Overnight, TwoDay, InternationalStandard, InternationalExpress, OnDemand, Freight.
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
lengthTypeenum LengthTypeOne of: Unknown, Centimeter, Meter, Inch, Foot.
statusenum OrderStatusOne of: Unknown, New, PendingCollection, PendingDelivery, Complete, Cancelled, PendingReturn, Returned.
fulfillmentTypeenum FulfillmentTypeOne of: Unknown, Package, Pallet, Container, Miscellaneous.
fulfillmentSubTypeenum FulfillmentSubTypeOne of: Unknown, GeneralPackage, FoodDelivery, MedicalDelivery, GroceriesDelivery, StandardPallet, StandardInternationalPallet, StandardUsPallet, StandardEuroPallet, CustomPallet, General10Ft, General20Ft, HighCube20Ft, General40Ft, HighCube40Ft, General45Ft, HighCube45Ft, FlatRack20FtWithSides, FlatRack20FtWithoutSides, FlatRack40FtWithSides, FlatRack40FtWithoutSides, OpenTop20Ft, OpenTop40Ft, Reefer20Ft, Reefer40Ft, MiniVan, DryVan, Flatbed, Tanker, AutoHauler, BoxTruck, Trailer, LowBoy, Dumper, Pickup, TowTruck, DumpTruck.
dateOfScheduledCollectionstring (date-time)
dateCreatedOnIntegrationstring (date-time)
effectiveDatestring (date-time)
dateOfDeliveryCompletionstring (date-time)
dateImportedstring (date-time)
countryCodeenum CountryCodeOne of: Invalid, Global, FallbackZa, Be, De, Lu, Nl, Za, Zw, Gb, Us, Zm.
paymentProcessedboolean
paymentUrlstring
integrationOrderUrlstring
multiCarrierboolean
currencyCodeenum CurrencyCodeOne of: Invalid, Eur, Usd, Gbp, Zar, Zmw.
paymentMethodenum PaymentMethodOne of: Unknown, Cash, Card, CashOnDelivery, CardOnDelivery, Eft, Crypto, Paypal, WireTransfer, DebitOrder.
attachmentsMetadataFileAttachment[]
orderItemsOrderItemResponse[]
orderShipmentsOrderShipmentResponse[]
destinationAddressAddressResponse
originAddressAddressResponse
originLocationIdstring (uuid)The location/store the order is attributed to (trace which store it came from).
originLocationTitlestring
sourceChannelIdstring (uuid)The sales channel (medium) the order came through.
sourceChannelTitlestring
sourceChannelSalesChannelResponse
customerCustomerResponse
carrierMetadataOrderCarrierMetadata
dimensionTypeDimensionTypeWithSymbols
currencyMetadataCurrencyResponse
fulfillmentProvidersPrimitiveIntegrationProviderResponse[]
packageSizesPrimitiveDimensionPreset[]
integrationsOrderIntegrationDetailsResponse[]
metadatamap<string, string>
OrderShipmentResponse
FieldTypeDescription
shipmentQuotationShipmentQuotationResponse
orderOrderResponse
shipmentShipmentResponse
fulfillmentProviderPrimitiveIntegrationProviderResponse
canModifyItemsbooleanWhether the item set of this shipment can still be changed, through PUT /orders/{orderId}/shipments/{shipmentId}/items. False once the shipment leaves the Active status, or once a label, an invoice, a fulfillment request, an approved quotation, or a manual lock names the load it carries.
OrderShippingCostsResponse
FieldTypeDescription
shippingSubTotalnumber (double)
shippingDiscountnumber (double)
shippingTaxnumber (double)
shippingTotalnumber (double)
PriceDetailsResponse
FieldTypeDescription
subTotalnumber (double)
totalPricenumber (double)
totalTaxnumber (double)
totalDiscountnumber (double)
discountnumber (double)
discountTypeenum DiscountTypeOne of: None, Percentage, FixedValue.
taxIncludedboolean
taxRatenumber (double)
taxTypeenum TaxTypeOne of: None, Sales, Vat, Gst, Pst, Hst, Qst, Ist, Ust, Cst.
currencyCurrencyResponse
PrimitiveDimensionPreset
FieldTypeDescription
titlestring
weightnumber (double)
widthnumber (double)
lengthnumber (double)
heightnumber (double)
idstring (uuid)
fulfillmentTypeenum FulfillmentTypeOne of: Unknown, Package, Pallet, Container, Miscellaneous.
lengthTypeenum LengthTypeOne of: Unknown, Centimeter, Meter, Inch, Foot.
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
PrimitiveIntegrationProviderResponse
FieldTypeDescription
configuredProviderIdstring (uuid)
idinteger (int32)
titlestring
descriptionstring
logoUrlstring
PrimitiveUserResponse
FieldTypeDescription
idstring (uuid)
displayNamestring
firstNamestring
lastNamestring
emailstring
phoneNumberstring
SalesChannelResponse
FieldTypeDescription
idstring (uuid)
titlestring
kindenum SalesChannelKindOne of: Direct, PointOfSale, Online, Marketplace.
defaultLocationIdstring (uuid)
SelectVehicle
FieldTypeDescription
idinteger (int32)Limits: minimum 1.
ShipmentItemResponse
FieldTypeDescription
idstring (uuid)
orderItemIdstring (uuid)
productIdstring (uuid)
quantitynumber (double)
unitenum UnitOfMeasureOne of: Each, Kilogram, Gram, Litre, Millilitre, Metre, Centimetre, SquareMetre, CubicMetre, Pair, Pack, Box, Roll, Sheet.
titlestring
descriptionstring
geometryGeometryFieldsResponse
subTotalnumber (double)
totalPricenumber (double)
totalTaxnumber (double)
totalDiscountnumber (double)
discountnumber (double)
discountTypeenum DiscountTypeOne of: None, Percentage, FixedValue.
ShipmentQuotationResponse
FieldTypeDescription
idstring (uuid)
providerPrimitiveIntegrationProviderResponse
itemsFulfillmentItemResponse[]
requiredServicesFulfillmentProviderServiceTypeModel[]
requirementsFulfillmentRequirementTypeModel[]
collectionCollectionResponse
deliveryDeliveryResponse
totalDeclaredValuenumber (double)
isInternationalboolean
isApprovedByUserboolean
totalItemsinteger (int32)
serviceLevelTextstring
serviceLevelenum ServiceLevelOne of: Unknown, Standard, Express, SameDay, Overnight, TwoDay, InternationalStandard, InternationalExpress, OnDemand, Freight.
fulfillmentTypeenum FulfillmentTypeOne of: Unknown, Package, Pallet, Container, Miscellaneous.
deliveryTypeenum FulfillmentDeliveryTypeOne of: Unknown, DoorToDoor, DoorToCollectionPoint, CollectionPointToDoor, CollectionPointToCollectionPoint, DoorToPort, PortToDoor, PortToPort, LockerToLocker.
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
lengthTypeenum LengthTypeOne of: Unknown, Centimeter, Meter, Inch, Foot.
countryCodeenum CountryCodeOne of: Invalid, Global, FallbackZa, Be, De, Lu, Nl, Za, Zw, Gb, Us, Zm.
dateOfEstimatedCollectionstring (date-time)The estimated collection and delivery dates, when they are known. They are null when no estimate exists. Do not substitute today's date.
dateOfEstimatedDeliverystring (date-time)
currencyCurrencyResponse
subTotalnumber (double)
totalPricenumber (double)
totalTaxnumber (double)
totalDiscountnumber (double)
discountnumber (double)
discountTypeenum DiscountTypeOne of: None, Percentage, FixedValue.
taxIncludedboolean
shipmentShipmentResponse
ShipmentResponse
FieldTypeDescription
dateCreatedstring (date-time)
dateModifiedstring (date-time)
idstring (uuid)
fulfillmentTypeenum FulfillmentTypeOne of: Unknown, Package, Pallet, Container, Miscellaneous.
statusenum ShipmentStatusOne of: Unknown, Active, PendingCollection, CollectionUnassigned, CollectionAssigned, CollectionRejected, CollectionException, CollectionFailedAttempt, Collected, AtHub, ReturnedToHub, InTransit, AtDestinationHub, DeliveryUnassigned, DeliveryAssigned, DeliveryRejected, DeliveryException, OutForDelivery, DeliveryFailedAttempt, InLocker, Delivered, Cancelled.
hasDimensionsboolean
dateOfDeparturestring (date-time)
titlestringLimits: maximum 100 characters.
providerServiceLevelIdUid
providerServiceLevelIdTypeenum UidTypeOne of: Unknown, Long, Guid, String.
serviceLevelenum ServiceLevelOne of: Unknown, Standard, Express, SameDay, Overnight, TwoDay, InternationalStandard, InternationalExpress, OnDemand, Freight.
codestring
descriptionstringLimits: maximum 3000 characters.
handlingTypeenum HandlingTypeOne of: Unknown, Delivery, Collection, Unassigned.
requiresApprovalboolean
totalDeclaredValuenumber (double)
quantityOfItemsnumber (double)
trackingIdstring
barcodestring
deliveryDeliveryResponse
collectionCollectionResponse
currencyCurrencyResponse
dispatchDispatchResponse
businessBusinessResponse
customerCustomerResponse
itemsShipmentItemResponse[]
fulfillmentContactsContactResponse[]
orderShipmentsOrderShipmentResponse[]
waypointsShipmentWaypointResponse[]
metadatamap<string, string>
attachmentsMetadataFileAttachment[]
ShipmentWaypointResponse
FieldTypeDescription
idstring (uuid)
segmentPositioninteger (int32)
titlestring
dateCheckedInstring (date-time)
dateCheckedOutstring (date-time)
dateCreatedstring (date-time)
dateModifiedstring (date-time)
addressAddressResponse
VehicleResponse
FieldTypeDescription
idstring (uuid)
licensePlatestring
dateOfLicenseExpirystring (date-time)
licenseDiscstring
vehicleIdentificationNumberstring
modelstring
makestring
acquisitionDatestring (date-time)
vehicleTypeenum VehicleTypeOne of: Motorcycle, LightMotorVehicle, HeavyMotorVehicleSub16, HeaveMotorVehicleOver16.
dateCreatedstring (date-time)
dateModifiedstring (date-time)