API Change protocol - 20230914 - Update package(s) dimesions

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

Actual:
Since 22. 9. 2023

Production environment:

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:

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