---
title: "Update package"
method: PATCH
path: "/draft_trips/{trip_uuid}/packages/{id}"
tags: ["Packages"]
---

# Update package

`PATCH /draft_trips/{trip_uuid}/packages/{id}`

Update Package

## Path parameters

- `trip_uuid` string, required
- `id` string, required

## Request body

- object
  - `data` UpdatePackage — Update Package
    - `name` string — Name of the package
    - `deposit` integer — Deposit price of the package, please use the payment plan field instead
    - `price` integer — Price of the package
    - `quantity` integer — Max available quantity of the package. You can set it to null for "unlimited" value. (NOTE: setting "null" value is not possible in this editor)
    - `description` string — Description of the package
    - `participants_per_package` integer — Number of participants per package.
    - `days_before_departure` integer — Whether this package has a booking deadline. The deadline is defined in relation to the trip start date. E.g. if this setting is set to “5” and the trip starts on January 15, then the booking deadline will be January 10.

## Response `200`

Successfully updated

- object
  - `data` Package — Package object
    - `name` string — Name of the package
    - `price` integer — Price of the package
    - `deposit` integer — Deposit amount for the package
    - `participants` Participant[]
      - `email` string — Email of the participant
      - `first_name` string — First name of the participant
      - `last_name` string — Last name of the participant

---

[API](https://skmtc.dev/wetravel/apis/authentication-api.md) · [All operations](https://skmtc.dev/wetravel/apis/authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wetravel/authentication-api/revisions/5c747875f084/schema)
