Callbacks for returning
We send standard callbacks in case of reverse flow.
Please pay attention to the following information in order to be able to properly set up the internal processes of operation.
{
"reservationId": "hMg8VDP8oldBNVgAOBvH",
"status": "RETURNING",
"changeTime": "2022-12-30T13:00:32.42Z",
"flowType": "INLET",
"barcodes": ["7032102989999912"],
"docNumber": "hMg8VDP8oldBNVgAOBvH"
}
If you dont have all the atributes in your callback, please contact our business department and we will set it up for you.
Reservation ID
After valid response we open the slot for the customer and make the reservation.
Please notice that in this case the reservation ID is random GUID number made by AlzaBox system.
It is fundamentally different from the classic parcel reservations towards the customer where ID is number of the package/barcode.
In order to pair your package you have to use additional information in callback (barcode etc.) instead of the reservation ID.
Package statuses
happy path:
Returning → stocked to the box by customer
Returned → picked up from the box by courier
Bad path:
Incomplete → not stocked by the customer. Box didnt have any free slot for the package or it didnt have free slot big enought.
Flow types
INLET = Reverse flow process, customer brings his own package
OUTLET = Standard process, when customer picks up a package
Barcodes & docNumber
Information from Partner’s Response - via https://alzabox.atlassian.net/wiki/spaces/ABD/pages/33914895