# Packages

APIs for managing package records throughout their lifecycle. These APIs support operations such as generating tracking numbers, creating package records, uploading package images, retrieving package details, searching packages, updating package information, archiving packages, and retrieving packages by tracking number.

 - [POST /api/v1/trackingNumbers](https://docs.sendpro360.pitneycloud.com/openapi/receiving/packages/createtrackingnumber.md): This API generates a unique tracking number required to add a package.These numbers serve as identifiers for packages throughout their lifecycle. Use this API when a package does not already have a t
 - [POST /api/v1/packages/images](https://docs.sendpro360.pitneycloud.com/openapi/receiving/packages/createimage.md): This operation creates an image and provides details about the created image. The image data must be provided in Base64 format in the request body.
 - [GET /api/v1/packages](https://docs.sendpro360.pitneycloud.com/openapi/receiving/packages/searchpackage.md): This operation retrieves a list of packages based on the specified search criteria, such as tracking numbers, status, or associated metadata.
 - [POST /api/v1/packages](https://docs.sendpro360.pitneycloud.com/openapi/receiving/packages/createpackage.md): This API operation creates a new package in the system and records its associated activity. Each package requires a unique tracking number to be added successfully. If an attempt is made to add multip
 - [POST /api/v1/packages/search](https://docs.sendpro360.pitneycloud.com/openapi/receiving/packages/searchpackages.md): This operation returns package records based on the requested custom header mapping. The request body contains package field names as keys and custom header labels as values. These header labels can b
 - [GET /api/v1/packages/{packageId}](https://docs.sendpro360.pitneycloud.com/openapi/receiving/packages/getpackagepackageid.md): This operation retrive detailed information or activities of a specific package using its unique packageId. The packageId is generated when a package is added to the system
 - [PUT /api/v1/packages/{packageId}](https://docs.sendpro360.pitneycloud.com/openapi/receiving/packages/updatepackage.md): 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` o
 - [PATCH /api/v1/packages/{packageId}/archive](https://docs.sendpro360.pitneycloud.com/openapi/receiving/packages/archivepackage.md): This operation marks the specified package as archived by updating its archived status to `true`. Archiving a package indicates that its lifecycle is complete, and it is no longer actively tracked. Wh
 - [GET /api/v1/packages/tracking/{trackingNumber}](https://docs.sendpro360.pitneycloud.com/openapi/receiving/packages/getpackagebytracking.md): This operation retrives a package using its unique tracking number.
