API endpoints for managing manifests and their associated assets/pallets.
A manifest is a container that groups assets/pallets for tracking purposes.
Allocate zimarker code(s) on demand for the calling organization, each with a printable, inline base64 marker image. Allocation is synchronous, atomic, and exactly-once per organization.
Render a zimarker code's marker image on demand. Public, stateless, and addressable by code at a stable URL — no authentication required.
Caller-assigned shipment external identifier. Immutable — supplying a different value than the current value returns 400. May be omitted (null) on update.
Gate to assign (accepts external identifier or uuid). Set to empty string to clear the gate assignment.
Full-replacement manifest list. When present, replaces the current set; omitted manifests are detached. When null, the manifest list is left unchanged. An empty list is rejected with 400 — a shipment must always contain at least one manifest.
https://docs.zimark.link/_mock/api/integration/rest/api/v1/shipment/{shipmentExternalId}
https://api.zimark-staging.link/integration/rest/api/v1/shipment/{shipmentExternalId}
https://api.zimark.link/integration/rest/api/v1/shipment/{shipmentExternalId}
curl -i -X PUT \
'https://docs.zimark.link/_mock/api/integration/rest/api/v1/shipment/{shipmentExternalId}' \
-H 'Content-Type: application/json' \
-H 'X-AUTH-KEY: YOUR_API_KEY_HERE' \
-d '{
"identifier": "string",
"gateIdentifier": "string",
"notes": "string",
"manifests": [
{
"manifestExternalId": "string",
"manifestUuid": "string"
}
],
"customFields": [
{
"deepLink": "string",
"fieldKey": "string",
"fieldValue": "string"
}
]
}'OK
Caller-assigned external identifier, unique per organization within the Shipment namespace.
Lifecycle status of the shipment. PENDING_COMPLETION is a readable system-managed state, not a manual write target.
Planning view: total pallets (assets) currently included across this shipment's manifests, regardless of loading state. For Total/Loaded execution counts use totalAssetsCount and loadedAssetsCount.
Total assets attached to the shipment, excluding invalid loadings (WRONGLY_LOADED, UNKNOWN_LOADING) and records belonging to cancelled manifests.
Successfully loaded assets, excluding invalid loadings and records belonging to cancelled manifests.
Timestamp when the shipment transitioned to IN_PROGRESS, null if not yet activated.
Timestamp when the shipment transitioned to a terminal status (COMPLETED or CANCELLED), null if still active.
Stored server-authoritative auto-completion deadline, serialized as epoch milliseconds. Present only while the shipment is in PENDING_COMPLETION; omitted otherwise.
Custom field values set on this shipment. Omitted when the organization's dispatch strategy is not SHIPMENT.
Pallets that have departed on closed loading rounds. Present only when Partial Shipment is enabled for the organization.
Round number of the currently open loading round; absent when no round is open. Present only when Partial Shipment is enabled for the organization.
Total loading rounds recorded for the shipment. Present only when Partial Shipment is enabled for the organization.
Link to the public evidence page of the shipment's Proof of Shipment. Absent until the shipment is COMPLETED and a Proof of Shipment has been recorded, and when the organization has no configured domain. Not included in the shipment list. The link expires — see the Integration API documentation for its lifetime.
Link to the public Shipment Summary page of this shipment. Present only once the shipment is COMPLETED, and absent when the organization has no configured domain. The link expires — see the Integration API documentation for its lifetime.
https://docs.zimark.link/_mock/api/integration/rest/api/v1/shipment/{shipmentExternalId}
https://api.zimark-staging.link/integration/rest/api/v1/shipment/{shipmentExternalId}
https://api.zimark.link/integration/rest/api/v1/shipment/{shipmentExternalId}
curl -i -X DELETE \
'https://docs.zimark.link/_mock/api/integration/rest/api/v1/shipment/{shipmentExternalId}' \
-H 'X-AUTH-KEY: YOUR_API_KEY_HERE'Returns a paginated list of shipments for the authenticated caller's organization. Supports filtering by status (multi-valued, including the read-only PENDING_COMPLETION state), gate (by UUID or external id), free-text, and three independent date ranges (created, activated, closed). Null-date semantics: when any bound is supplied on activateDate or closeDate, shipments whose corresponding date field is null are excluded.
Filter by shipment status (multi-valued). PENDING_COMPLETION is supported for reads, for example statuses=PENDING_COMPLETION.
Activated-date range lower bound (epoch millis, inclusive). Shipments with null activateDate are excluded when any bound is supplied.
Closed-date range lower bound (epoch millis, inclusive). Shipments with null closeDate are excluded when any bound is supplied.
https://docs.zimark.link/_mock/api/integration/rest/api/v1/shipment
https://api.zimark-staging.link/integration/rest/api/v1/shipment
https://api.zimark.link/integration/rest/api/v1/shipment
curl -i -X GET \
'https://docs.zimark.link/_mock/api/integration/rest/api/v1/shipment?statuses=PENDING_COMPLETION&gate=string&activateDateAfter=0&activateDateBefore=0&closeDateAfter=0&closeDateBefore=0&q=string&createDateAfter=0&createDateBefore=0&pageNumber=0&pageSize=100&sort.sortBy=string&sort.direction=ASC' \
-H 'X-AUTH-KEY: YOUR_API_KEY_HERE'