# Update manifest Updates an existing manifest's assets and/or custom fields.This update endpoint uses a declarative updates, meaning Zimark will automatically handle deleting, adding, or updating assets and/or custom fields for you. For updating other properties like status and gate assignment, use the specific endpoints. Endpoint: PUT /integration/rest/api/v1/manifest/{manifestExternalId} Version: v1 Security: X-AUTH-KEY ## Path parameters: - `manifestExternalId` (string, required) Unique external id of the manifest. AnE eternal id is often an id based on the WMS Zimark is integrated with, e.g. an order id. Example: "MAN-2024-001" ## Request fields (application/json): - `assets` (array) Optional list of asset (track) identifiers to set or update for the manifest. - `customFields` (array) Optional custom fields to set or update for the manifest. - `customFields.fieldKey` (string) Unique key (name) of the custom field. This must match the configured field name. - `customFields.fieldValue` (string) Value of the custom field as a string. For numeric fields, send the number as a string. ## Response 400 fields (*/*): - `code` (string) Error code - `message` (string) Error message - `timeStamp` (integer) Timestamp - `correlationId` (string) Correlation id ## Response 404 fields (*/*): - `code` (string) Error code - `message` (string) Error message - `timeStamp` (integer) Timestamp - `correlationId` (string) Correlation id ## Response 500 fields (*/*): - `code` (string) Error code - `message` (string) Error message - `timeStamp` (integer) Timestamp - `correlationId` (string) Correlation id