---
title: "Update Custom Package Type By ID"
method: PUT
path: "/v1/packages/{package_id}"
tags: ["package_types"]
---

# Update Custom Package Type By ID

`PUT /v1/packages/{package_id}`

Update the custom package type object by ID

## Request body

- UpdatePackageTypeRequestBody — A package type that a carrier supports for shipment.
  - `package_id` string — A string that uniquely identifies a ShipEngine resource, such as a carrier, label, shipment, etc.
  - `package_code` string, required — A [package type](https://www.shipengine.com/docs/reference/list-carrier-packages/), such as `thick_envelope`, `small_flat_rate_box`, `large_package`, etc. Use the code `package` for custom or unknown package types.
  - `name` string, required
  - `dimensions` Dimensions — The dimensions of a package
    - `unit` 'inch' | 'centimeter', required — The dimension units that are supported by ShipEngine.
    - `length` number, required — The length of the package, in the specified unit
    - `width` number, required — The width of the package, in the specified unit
    - `height` number, required — The height of the package, in the specified unit
  - `description` string, nullable — Provides a helpful description for the custom package.

## Response `204`

The request was successful.

- string

## Other responses

- `400` — The request contained errors.
- `404` — The specified resource does not exist.
- `500` — An error occurred on ShipEngine's side. > This error will automatically be reported to our engineers.

---

[API](https://skmtc.net/shipengine/apis/shipengine-api.md) · [All operations](https://skmtc.net/shipengine/apis/shipengine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shipengine/shipengine-api/revisions/6af91511d87e/schema)
