---
title: "Create package"
method: POST
path: "/all-packages"
tags: ["Packages"]
---

# Create package

`POST /all-packages`

## Request

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

Create a new package with specified dimensions and weight.

## Request body

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

## Response `200`

Successful response

- object
  - `success` boolean: Indicates if the request was successful
  - `data` object: Created package information
    - `id` integer: Package ID
    - `name` string: Package name
    - `length` number: Package length
    - `width` number: Package width
    - `height` number: Package height
    - `weight` number: Package weight

---

[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)
