Package(s) dimensions

It is possible to update the package(s) dimensions within a reservation. This can be achieved by supplying the dimension parameters via a v2/reservations PATCH request:

  • depth,

  • height,

  • width.

With these parameters a BarCode must be supplied as well to identify the package we need to update the dimensions for.

By updating these parameters the needed size of the package is recalculated to find the best fit for the package within an AlzaBox.

 

An example of a PATCH request that updates the dimensions of a package within a reservation:

PATCH /parcel-lockers/v2/reservation { "data": { "reservation": { "id": "RES123", "attributes": { "packages": [ { "depth": 3.5, "height": 2.8, "width": 4.2, "barcode": "PKG123" } ] } } } }