---
title: "updatePackage"
method: PUT
path: "/externalFulfillment/2024-09-11/shipments/{shipmentId}/packages/{packageId}"
tags: ["External Fulfillment Shipping v2024-09-11"]
---

# updatePackage

`PUT /externalFulfillment/2024-09-11/shipments/{shipmentId}/packages/{packageId}`

Updates the details about the packages that will be used to fulfill the specified shipment.

## Path parameters

- `shipmentId` string, required
- `packageId` string, required

## Request body

- Package — The package that is associated with the container.
  - `packageTrackingNumber` string, required — The tracking number on the label of shipment package, that you can fetch from the `shippingLabels` response. You can also scan the bar code on the shipping label to get the tracking number.

## Response `204`

Success.

## Other responses

- `400` — Request has missing or invalid parameters and cannot be parsed.
- `403` — Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
- `404` — The resource specified does not exist.
- `409` — The resource specified conflicts with the current state
- `413` — The request size exceeded the maximum accepted size.
- `415` — The request payload is in an unsupported format.
- `422` — Unprocessable Entity. Unable to process the contained instructions
- `429` — The frequency of requests was greater than allowed.
- `500` — An unexpected condition occurred that prevented the server from fulfilling the request.
- `503` — Temporary overloading or maintenance of the server.

---

[API](https://skmtc.net/aws-samples/apis/a-content-management-v2020-11-01.md) · [All operations](https://skmtc.net/aws-samples/apis/a-content-management-v2020-11-01/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/a-content-management-v2020-11-01/revisions/815a5b6dbaa6/schema)
