Declare a new operational profile revision (DeclareOperationalProfile)
PUT/nodes/:nodeId/operational-profile
Appends a profile revision; earlier revisions are never edited. Called by vendor-connectivity (declaredBy VENDOR) and by the network-ops planner (declaredBy NETWORK_OPS). Every day of a cutoff must fall inside the operating hours of that day, and a revision of an ACTIVE FULFILLMENT_CENTER keeps at least one cutoff and a handlingTime above zero. sortDwellMinutes is accepted only for SORTATION_CENTER and AIR_HUB nodes. The optional inbound limits (maxCartonWeightG, maxCartonDimsMm, acceptsPallets, requiresSscc) are declared per revision; a revision without inbound declares none, and consumers then treat inbound limits as unchecked. Only node types with the INBOUND capability (FULFILLMENT_CENTER, INBOUND_CROSS_DOCK) declare inbound limits; any other type is 422 inbound-limits-not-allowed. Publishes NodeOperationalProfileDeclared.
Request
Responses
- 200
- 400
- 404
- 409
- 413
- 422
Profile revision stored; the node with its current profile.
Response Headers
Present, with the value true, only when the response replays the first answer stored for the Idempotency-Key (a stored 2xx or a stored refusal that is final for the request; a 5xx and a refusal that depends on state another request can change are never stored).
idempotency-key-required (no Idempotency-Key header), idempotency-key-invalid (not 1-128 printable ASCII characters), malformed-request-body (invalid JSON, an empty body, trailing data, an unknown field, a wrongly typed field or a NUL character), or malformed-request-query (a NUL character in the query string).
not-found (ErrNotFound): an unknown nodeId in the path or body.
stale-profile-revision (ErrStaleProfileRevision), incomplete-operational-profile (ErrIncompleteOperationalProfile), node-retired (ErrNodeRetired), or concurrent-update (ErrConcurrentUpdate); or idempotency-key-reused (the Idempotency-Key was already used with a different request).
request-body-too-large (the request body is larger than 64 KiB).
cutoff-outside-operating-hours (ErrCutoffOutsideOperatingHours), sort-dwell-not-allowed (ErrSortDwellNotAllowed), inbound-limits-not-allowed (ErrInboundLimitsNotAllowed: inbound limits on a node type without the INBOUND capability), or validation-failed.