Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

What we want to change:

Allow partners to update a package(s) dimensions via v2/reservations PATCH request

Why we want to change:

  • To let partners update package dimensions in case they have changed.

  • To make sure the best slot within an AlzaBox is booked for the package.

When we want to change:

Stage environment:

Plan:
During sprint No.2320, i.e. no later than No.2321

...

Plan:
During sprint No.2320, i.e. no later than No.2321

Actual:
Since 26. 9. 2023

Affected enpoints

PATCH /v2/reservation

Example of change:

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

...