---
title: "Update package"
method: PUT
path: "/packages/{package_id}"
tags: ["Packages"]
---

# Update package

`PUT /packages/{package_id}`

## Request

- Base URL: `https://queries.test.envia.com`
- URL: `https://queries.test.envia.com/packages/{package_id}`
- Auth: HTTP bearer

Update packages for the specified package id. Requires Bearer JWT authentication.

## Path parameters

- `package_id` integer, required

## Request body

- object
  - `name` string: Package name
  - `length` number: Package length
  - `width` number: Package width
  - `height` number: Package height
  - `weight` number: Package weight

## Response `200`

Successful response

- object
  - `success` boolean: Indicates if the request was successful
  - `data` object: Updated package information

---

[API](https://skmtc.dev/envia/apis/envia-queries-api.md) - [All operations](https://skmtc.dev/envia/apis/envia-queries-api/llms.txt) - [OpenAPI document](https://skmtc.dev/envia/apis/envia-queries-api/revisions/56f601a52f3f?raw)
