Update Package

This operation updates the details of an existing package using its unique packageId. Updates include the latest activity performen on the package or current status of the package such as RECEIVED or DELIVERED as well as recording additional information like damage reports, location changes, or other relevant package events.

SecuritybearerAuth
Request
path Parameters
packageId
required
string
Request Body schema: application/json
required
object
object
Array of objects

List of images related to the packages.

Responses
200

Package has been updated successfully.

400

Invalid request.

401

The request could not be authorized.

500

The request could not be completed due to an internal error.

put/api/v1/packages/{packageId}
Request samples
application/json
{
  • "package": {
    },
  • "lastActivity": {
    },
  • "images": [
    ]
}
Response samples
application/json
{
  • "packageId": "NeLnz9LZ1j4KK5WlEOlyW",
  • "trackingNumber": "PB4OZAWWNPBGB",
  • "images": [
    ]
}