> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usedroptrail.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Delivery Request

> Update an existing delivery request

Update details of an existing delivery request. Only requests in PENDING status can be updated.

## Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the delivery request to update
</ParamField>

## Request Body

<ParamField body="from_location" type="string">
  Full pickup location address including street, city, state and postal code
</ParamField>

<ParamField body="to_location" type="string">
  Full delivery destination address including street, city, state and postal code
</ParamField>

<ParamField body="receiver_phone" type="string">
  Phone number of the recipient in E.164 format (e.g. +1234567890)
</ParamField>

<ParamField body="estimated_weight" type="number">
  Estimated weight of the package in kilograms (max 500kg)
</ParamField>

<ParamField body="package_count" type="integer">
  Number of packages in the delivery (max 50)
</ParamField>

<ParamField body="description" type="string">
  Detailed description of the package contents and any special handling instructions
</ParamField>

<ParamField body="delivery_deadline" type="string" format="date-time">
  ISO 8601 formatted deadline for delivery completion (must be in the future)
</ParamField>

<ParamField body="is_interstate" type="boolean">
  Whether the delivery crosses state lines. Additional fees may apply.
</ParamField>

## Response

<ResponseField name="id" type="string">
  The unique identifier for the delivery request
</ResponseField>

<ResponseField name="status" type="string">
  Current status of the delivery request
</ResponseField>

<ResponseField name="from_location" type="string">
  Updated pickup location address
</ResponseField>

<ResponseField name="to_location" type="string">
  Updated delivery destination address
</ResponseField>

<ResponseField name="receiver_phone" type="string">
  Updated phone number of the recipient
</ResponseField>

<ResponseField name="estimated_weight" type="number">
  Updated estimated weight in kilograms
</ResponseField>

<ResponseField name="package_count" type="integer">
  Updated number of packages
</ResponseField>

<ResponseField name="description" type="string">
  Updated package description and handling instructions
</ResponseField>

<ResponseField name="delivery_deadline" type="string">
  Updated ISO 8601 formatted delivery deadline
</ResponseField>

<ResponseField name="is_interstate" type="boolean">
  Updated interstate delivery status
</ResponseField>

<ResponseField name="updated_at" type="string">
  ISO 8601 timestamp when the request was last updated
</ResponseField>

<ResponseField name="estimated_price" type="number">
  Updated estimated delivery price in USD based on new parameters
</ResponseField>

## Example Request
