---
updatedAt: 2026-04-28T02:11:24.000Z
agentTools:
  projectIndex: https://docs.shipscience.com/llms.txt
---

# Update

Update editable fields on a manifest shipment item. The `id` in the URL identifies the item.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Shipscience API",
    "version": "v1",
    "description": "ShipScience's REST API for partners and customers.\n\n## Authentication\n\nMost endpoints require a bearer JWT in the `Authorization` header. Tokens\nare issued by the ShipScience login flow and are valid for 4 hours.\nClients are responsible for refreshing tokens before expiry. The\n`/api/v1/tokens` endpoint is an exception — it authenticates with the\n`api-key` header rather than a bearer JWT, since its purpose is to\nissue the JWT itself.\n\n## Partner endpoints\n\nThe **Sub Accounts** section is only available to accounts explicitly\nenabled as partners. If you receive `403 Forbidden`, contact\n**support@shipscience.com** to request access.\n"
  },
  "tags": [
    {
      "name": "Manifest Shipment Items",
      "description": "Per-item line records belonging to a manifest shipment. Each item carries\nSKU, description, units, value, and order line. Items are nested under their\nparent shipment's tracking number in the URL.\n"
    }
  ],
  "paths": {
    "/api/v1/manifest/shipments/{tracking_number}/shipment_items/{id}": {
      "parameters": [
        {
          "name": "tracking_number",
          "in": "path",
          "description": "Shipment tracking number",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "id",
          "in": "path",
          "description": "Shipment item ID",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "put": {
        "summary": "Update",
        "tags": [
          "Manifest Shipment Items"
        ],
        "description": "Update editable fields on a manifest shipment item. The `id` in the URL identifies the item.",
        "security": [
          {
            "bearer_auth": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/manifest_shipment_item"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            }
          },
          "404": {
            "description": "shipment not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            }
          },
          "422": {
            "description": "unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "order_number": {
                    "type": "string"
                  },
                  "order_line": {
                    "type": "integer",
                    "nullable": true
                  },
                  "item_description": {
                    "type": "string"
                  },
                  "item_value": {
                    "type": "number",
                    "nullable": true
                  },
                  "item_units": {
                    "type": "integer",
                    "nullable": true
                  },
                  "item_sku": {
                    "type": "string",
                    "nullable": true
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string"
              }
            }
          }
        }
      },
      "manifest_shipment_item": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true,
            "example": "mnsi_AbC123dEf456GhI789jKlM"
          },
          "manifest_shipment_id": {
            "type": "integer",
            "nullable": true
          },
          "order_number": {
            "type": "string"
          },
          "order_line": {
            "type": "integer",
            "nullable": true
          },
          "item_description": {
            "type": "string"
          },
          "item_value": {
            "type": "number",
            "nullable": true
          },
          "item_units": {
            "type": "integer",
            "nullable": true
          },
          "item_sku": {
            "type": "string",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "_destroy": {
            "type": "boolean",
            "nullable": true
          }
        }
      }
    },
    "securitySchemes": {
      "bearer_auth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "servers": [
    {
      "url": "https://app.shipscience.com",
      "variables": {
        "defaultHost": {
          "default": "app.shipscience.com"
        }
      }
    }
  ]
}
```