Shipment status

Application logic 257 views

The states that a Logivery shipment can assume are the following:

idStateDescriptionSubsequent states
 0

DRAFT

Draft shipment missing basic information to define it (sender, recipient, content)

By completing the missing data, the status can change to CREATED or READY.

 1

CREATED

Created : Shipment complete with basic information (sender, recipient, content), but without the shipping service having been chosen yet

By choosing the shipping service, the status can change to READY.

 4

READY

Ready : Shipment complete with basic information and shipping service assigned but label not generated

By performing the label request, it can be switched to WAITING_SHIPMENT_REQUEST

 6

WAITING_SHIPMENT_REQUEST

Label requested and waiting to be issued

If the label is issued successfully it switches to CONFIRMED, otherwise it switches to REQUEST_FAILED

 16

REQUEST_FAILED

The label could not be issued

By resetting the shipment, it can return to READY

 7

CONFIRMED

Confirmed : Shipping service confirmed, labels issued

If cancellation of the label is requested, change to CANCELLATION_REQUESTED.

If tracking arrives, it may change to SHIPPED, DELIVERED or TRACKING_FAILED

 17

CANCELLATION_REQUESTED

A request has been made to cancel a previously issued label and we are awaiting the outcome

If the label cancellation is successful, it switches to CANCELLATION_CONFIRMED, otherwise to CANCELLATION_DENIED.

 

 18

CANCELLATION_CONFIRMED

The label cancellation was successful

 By resetting the shipment, you can return to CONFIRMED
19

CANCELLATION_DENIED

The issued label could not be cancelled

 By resetting the shipment, you can return to CONFIRMED
 3

SHIPPED

Shipped : Shipment started

 The next possible states are DELIVERED or TRACKING_FAILED
 9

DELIVERED

Delivered : Shipment delivered to destination

 The next possible state is CLOSED
 15

 TRACKING_FAILED

 The shipment could not be tracked

 
 10

 CLOSED

 Shipment archived