Skip to content
Download OpenAPI description
Languages
Servers
Mock server

https://docs.zimark.link/_mock/api/

https://api.zimark-staging.link/

https://api.zimark.link/

Zimarker

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.

Operations

Manifest

API endpoints for managing manifests and their associated assets/pallets.

A manifest is a container that groups assets/pallets for tracking purposes.

Operations

Shipment

API endpoints for managing shipments (multi-manifest dispatch grouping). A shipment groups one or more manifests for dispatch at a single gate; only available to organizations configured with the shipment dispatch strategy.

Operations

Update shipment status (activate / reopen / reset / complete / cancel / partially ship)

Request

Unified status-update endpoint mirroring ManifestIntegrationController#updateManifestStatus. Accepts IN_PROGRESS (activate, resume, or reopen from PENDING_COMPLETION; requires a gate), PARTIALLY_SHIPPED (close the current truck, release the gate, keep all loading data — requires the Partial Shipment setting, at least one LOADED pallet, and no invalid loadings), COMPLETED (from IN_PROGRESS, PENDING_COMPLETION, or PARTIALLY_SHIPPED), CANCELLED, or TO_DO (reset). PENDING_COMPLETION is a system-only target and is rejected when supplied here, even though it is returned by read endpoints. Unknown status values return 400. Distinguishable failures: 403 PARTIAL_SHIPMENT_DISABLED, 400 NO_LOADED_PALLET, 400 INVALID_LOADINGS_PRESENT, 400 INVALID_STATUS_TRANSITION. Repeating an already-applied status (including PARTIALLY_SHIPPED) is an idempotent no-op that returns 204 without error.

Security
X-AUTH-KEY
Path
shipmentExternalIdstringrequired

Shipment external identifier or uuid.

Example: SHIP-2024-001
shipmentStatusstringrequired

Manual target shipment status. PENDING_COMPLETION is system-only and cannot be requested.

Enum"TO_DO""IN_PROGRESS""PARTIALLY_SHIPPED""COMPLETED""CANCELLED"
curl -i -X POST \
  'https://docs.zimark.link/_mock/api/integration/rest/api/v1/shipment/SHIP-2024-001/status/{shipmentStatus}' \
  -H 'X-AUTH-KEY: YOUR_API_KEY_HERE'

Responses

No content

Attach one or more manifests to the shipment (all-or-nothing batch)

Request

All supplied manifests must exist, must be in PLANNED status, and must not be attached to another shipment. If any fails validation, the entire batch is rolled back.

Security
X-AUTH-KEY
Path
shipmentExternalIdstringrequired

Shipment external identifier or uuid.

Example: SHIP-2024-001
Bodyapplication/jsonrequired
manifestsArray of objects(ManifestReferenceV1Dto)non-emptyrequired

List of manifest references to attach. Exactly one of manifestExternalId / manifestUuid must be set per reference. The entire batch is rolled back on any single validation failure.

manifests[].​manifestExternalIdstring[ 0 .. 255 ] characters

Caller-assigned manifest external identifier.

manifests[].​manifestUuidstring

Internal manifest identifier (uuid).

curl -i -X POST \
  https://docs.zimark.link/_mock/api/integration/rest/api/v1/shipment/SHIP-2024-001/manifest \
  -H 'Content-Type: application/json' \
  -H 'X-AUTH-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "manifests": [
      {
        "manifestExternalId": "string",
        "manifestUuid": "string"
      }
    ]
  }'

Responses

OK

Body*/*
createDatestring(date-time)
updateDatestring(date-time)
deepLinkstring

Deep link URL to open this entity in Ops.App.

externalIdentifierstring

Caller-assigned external identifier, unique per organization within the Shipment namespace.

statusstring

Lifecycle status of the shipment. PENDING_COMPLETION is a readable system-managed state, not a manual write target.

Enum"PLANNED""TO_DO""IN_PROGRESS""PARTIALLY_SHIPPED""PENDING_COMPLETION""COMPLETED""CANCELLED"
gateobject(GateV1Dto)

Gate currently assigned to the shipment, if any.

manifestsArray of objects(ShipmentManifestRefV1Dto)

Manifests currently attached to the shipment.

palletsCountinteger(int64)

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.

totalAssetsCountinteger(int64)

Total assets attached to the shipment, excluding invalid loadings (WRONGLY_LOADED, UNKNOWN_LOADING) and records belonging to cancelled manifests.

loadedAssetsCountinteger(int64)

Successfully loaded assets, excluding invalid loadings and records belonging to cancelled manifests.

notesstring

Optional free-text notes.

activateDatestring(date-time)

Timestamp when the shipment transitioned to IN_PROGRESS, null if not yet activated.

closeDatestring(date-time)

Timestamp when the shipment transitioned to a terminal status (COMPLETED or CANCELLED), null if still active.

autoCompleteAtstring(int64)read-only

Stored server-authoritative auto-completion deadline, serialized as epoch milliseconds. Present only while the shipment is in PENDING_COMPLETION; omitted otherwise.

Example: 1800000060000
deletedboolean

Soft-delete flag. Deleted shipments are excluded from list and get endpoints.

customFieldsArray of objects(ShipmentCustomFieldV1Dto)

Custom field values set on this shipment. Omitted when the organization's dispatch strategy is not SHIPMENT.

departedAssetsCountinteger(int64)

Pallets that have departed on closed loading rounds. Present only when Partial Shipment is enabled for the organization.

currentRoundNumberinteger(int32)

Round number of the currently open loading round; absent when no round is open. Present only when Partial Shipment is enabled for the organization.

roundsCountinteger(int32)

Total loading rounds recorded for the shipment. Present only when Partial Shipment is enabled for the organization.

proofOfShipmentUrlstring

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.

shipmentSummaryUrlstring

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.

tracksCountinteger(int64)Deprecated

Detach one or more manifests from the shipment (all-or-nothing batch)

Request

All supplied manifests must be currently attached to the shipment. If any is not attached, the entire batch is rejected.

Security
X-AUTH-KEY
Path
shipmentExternalIdstringrequired

Shipment external identifier or uuid.

Bodyapplication/jsonrequired
manifestsArray of objects(ManifestReferenceV1Dto)non-emptyrequired

List of manifest references to detach. The entire batch is rolled back on any single validation failure.

manifests[].​manifestExternalIdstring[ 0 .. 255 ] characters

Caller-assigned manifest external identifier.

manifests[].​manifestUuidstring

Internal manifest identifier (uuid).

curl -i -X DELETE \
  'https://docs.zimark.link/_mock/api/integration/rest/api/v1/shipment/{shipmentExternalId}/manifest' \
  -H 'Content-Type: application/json' \
  -H 'X-AUTH-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "manifests": [
      {
        "manifestExternalId": "string",
        "manifestUuid": "string"
      }
    ]
  }'

Responses

OK

Body*/*
createDatestring(date-time)
updateDatestring(date-time)
deepLinkstring

Deep link URL to open this entity in Ops.App.

externalIdentifierstring

Caller-assigned external identifier, unique per organization within the Shipment namespace.

statusstring

Lifecycle status of the shipment. PENDING_COMPLETION is a readable system-managed state, not a manual write target.

Enum"PLANNED""TO_DO""IN_PROGRESS""PARTIALLY_SHIPPED""PENDING_COMPLETION""COMPLETED""CANCELLED"
gateobject(GateV1Dto)

Gate currently assigned to the shipment, if any.

manifestsArray of objects(ShipmentManifestRefV1Dto)

Manifests currently attached to the shipment.

palletsCountinteger(int64)

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.

totalAssetsCountinteger(int64)

Total assets attached to the shipment, excluding invalid loadings (WRONGLY_LOADED, UNKNOWN_LOADING) and records belonging to cancelled manifests.

loadedAssetsCountinteger(int64)

Successfully loaded assets, excluding invalid loadings and records belonging to cancelled manifests.

notesstring

Optional free-text notes.

activateDatestring(date-time)

Timestamp when the shipment transitioned to IN_PROGRESS, null if not yet activated.

closeDatestring(date-time)

Timestamp when the shipment transitioned to a terminal status (COMPLETED or CANCELLED), null if still active.

autoCompleteAtstring(int64)read-only

Stored server-authoritative auto-completion deadline, serialized as epoch milliseconds. Present only while the shipment is in PENDING_COMPLETION; omitted otherwise.

Example: 1800000060000
deletedboolean

Soft-delete flag. Deleted shipments are excluded from list and get endpoints.

customFieldsArray of objects(ShipmentCustomFieldV1Dto)

Custom field values set on this shipment. Omitted when the organization's dispatch strategy is not SHIPMENT.

departedAssetsCountinteger(int64)

Pallets that have departed on closed loading rounds. Present only when Partial Shipment is enabled for the organization.

currentRoundNumberinteger(int32)

Round number of the currently open loading round; absent when no round is open. Present only when Partial Shipment is enabled for the organization.

roundsCountinteger(int32)

Total loading rounds recorded for the shipment. Present only when Partial Shipment is enabled for the organization.

proofOfShipmentUrlstring

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.

shipmentSummaryUrlstring

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.

tracksCountinteger(int64)Deprecated

Pallet

The /track/… paths are deprecated aliases of the /pallet/… endpoints, kept for backward compatibility. They will be removed in a future release; use /pallet/… for new integrations.

Operations
Operations
Operations
Operations
Operations
Operations
Operations